Nicolas Pouillard
ace9184e77
[build using ocamlbuild] Regen boot/myocamlbuild.boot.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8572 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 21:00:37 +00:00
Nicolas Pouillard
3f755dc652
[ocamlbuild] [FIXED] No longer use read_file in ppcache.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8571 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 20:56:00 +00:00
Nicolas Pouillard
76c289ce88
[ocamlbuild] [FIXED] Use String.max_string_length instead of a wrong constant.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8570 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 20:54:45 +00:00
Nicolas Pouillard
1526de337e
[ocamlbuild] [FIXED] Globbing wildcard '?' cannot match slash (update doc too)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8568 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 20:48:37 +00:00
Nicolas Pouillard
3107465c71
Modular menhir support for ocamlbuild (by Benoit Montagu <benoit.montagu@inria.fr>)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8567 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 20:46:46 +00:00
Nicolas Pouillard
5bc8725446
[ocamlbuild] Better understand and revamp .depends generation and usage.
...
.depends file was generated by an ugly rule that executed the ocamldep
command instead of returning it for later execution. Moreover this execution
was in order to read the output and store as a side effect. By doing this it
was more complicated to work with this command. Now the rule just returns the
command to execute as for other rules. And that's clients that wants
dependencies of a file that trigger the reading of this file.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8566 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 18:32:32 +00:00
Nicolas Pouillard
229bebc621
[ocamlbuild] [ADDED] Add a TODO item.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8565 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 18:22:06 +00:00
Nicolas Pouillard
9f36ea074a
[ocamlbuild] [ADDED] A TODO item.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8564 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 18:21:48 +00:00
Nicolas Pouillard
2283930f93
[ocamlbuild] [ADDED] Two TODO items.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8563 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 18:21:29 +00:00
Nicolas Pouillard
e7c8d8395d
[ocamlbuild] Merge 3.10 on trunk for ocamlbuild
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8562 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 18:20:41 +00:00
Nicolas Pouillard
09ea000fe0
[camlp4 examples] [ADDED] An example of string based quotation expander (old ExStr).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8561 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 18:18:14 +00:00
Nicolas Pouillard
6e98a45b0c
[camlp4] [FIXED] PR#4328
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8560 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 18:15:48 +00:00
Nicolas Pouillard
40db6ea316
[camlp4] [FIXED] Use numeric also for floats PR#4434.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8559 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 18:14:47 +00:00
Nicolas Pouillard
ee21128333
[camlp4] [CHANGED] Rename the intlike printer method by numeric.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8558 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 18:14:05 +00:00
Nicolas Pouillard
aeb05b1cb9
[camlp4] Merge 3.10 on trunk for camlp4
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8557 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 18:11:24 +00:00
Nicolas Pouillard
8d2296b285
[camlp4] Merge 3.10 on trunk for camlp4/Camlp4/Struct
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8556 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 17:57:54 +00:00
Nicolas Pouillard
94ae0db260
[camlp4] Merge 3.10 on trunk for camlp4/Camlp4/Printers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8555 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 17:53:10 +00:00
Nicolas Pouillard
a09267ad74
[camlp4] Merge 3.10 on trunk for camlp4/Camlp4Filters
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8554 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 17:51:39 +00:00
Nicolas Pouillard
7d0959ff0d
[camlp4] Merge 3.10 on trunk for camlp4/Camlp4Parsers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 17:51:16 +00:00
Nicolas Pouillard
6568f8eea9
[camlp4] Merge 3.10 on trunk for camlp4/examples
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8552 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 17:50:26 +00:00
Nicolas Pouillard
eed14c2980
[camlp4] Merge 3.10 on trunk for camlp4/test
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8551 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 17:49:56 +00:00
Nicolas Pouillard
0e09dcc7f8
[camlp4] [FIXED] Use numeric also for floats PR#4434.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8550 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 16:48:58 +00:00
Nicolas Pouillard
3f1f575f02
[configure][FIXED] Check also for libX11.dylib (PR#4446).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8549 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 16:47:53 +00:00
Nicolas Pouillard
4e37068a21
[camlp4] [CHANGED] Rename the intlike printer method by numeric.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8548 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 16:44:29 +00:00
Nicolas Pouillard
1e52ab65d7
[ocamlbuild] [ADDED] Add a clear distinction between resources ("a.byte", "a.ml"...) and resource_patterns ("%.byte", "%.ml"...).
...
There is now an abstract type to ensure that resource_patterns are not mixed
with resources. Rules are now 'a gen_rules where 'a is the type of production
resources (either a resource or a resource_pattern).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8547 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 16:40:28 +00:00
Nicolas Pouillard
f0dc0e240b
[ocamlbuild] Update the tests.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8546 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 16:38:34 +00:00
Jacques Garrigue
e1bf691bf1
PR#4453
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8526 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-19 13:15:51 +00:00
Alain Frisch
270908852f
Forgot to remove partialld from myocamlbuikd_config.mli
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8525 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-16 13:11:42 +00:00
Alain Frisch
7be32fff1b
Remove unused variable.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8524 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-15 18:17:14 +00:00
Alain Frisch
32abe25b89
Same in native code.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8523 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-15 16:09:57 +00:00
Alain Frisch
223f7bbfea
Improve -output-obj: can now build directly a dynamic library (with all the ccobjs/ccopts); can also produces simply the uncompiled .c file (e.g. to debug). The output name (-o) is now mandatory when -output-obj is used, and only an extension amongst .c, EXT_OBJ, EXT_DLL is allowed.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8522 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-15 15:18:28 +00:00
Alain Frisch
1b059475c8
Cleanup and factorization of linker-related code.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8521 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-15 13:21:15 +00:00
Alain Frisch
b4f96d6574
Pass the load_path to flexlink.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8520 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-13 17:37:05 +00:00
Alain Frisch
9b8a606bdb
Flexdll now takes care of /subsystem:console
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8519 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-13 17:18:50 +00:00
Alain Frisch
bec9b43e7e
Need main in libcamlrun.lib.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8518 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-13 17:18:25 +00:00
Alain Frisch
5a8f5b8063
Do not hardcode path to flexdll.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8517 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-13 15:44:33 +00:00
Alain Frisch
93e7b253b8
Trying to make it work under both 10.4 and 10.5.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8515 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-12 18:08:49 +00:00
Alain Frisch
61f108c251
Use the dlopen API in priority when available under Mac OS X. For Leopard, we need ld_classic to build bundles with relocations in text sections.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8514 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-12 17:26:00 +00:00
Alain Frisch
fef1887f9a
Applying patch leopard-compilation-fix2.patch (PR #4439 ).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8513 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-12 17:24:47 +00:00
Alain Frisch
4d3cb0211c
Keep the variable MKSHAREDLIB from the configure script.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8512 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-12 17:20:38 +00:00
Alain Frisch
02654dc3b6
Do not build threads.cmxs: on some systems, it is needed to link the system thread library statically.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8511 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-12 17:19:48 +00:00
Alain Frisch
3f12bd653a
Use the variable mksharedlib from the configure script to build cmxs.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8510 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-12 17:18:32 +00:00
Xavier Leroy
ae10d23072
Issues with RTLD_DEFAULT not defined in Glibc, unless _GNU_SOURCE is set
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8505 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-10 16:32:20 +00:00
Xavier Leroy
2f9fff806a
PR#4180: shared library support for OpenBSD
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8501 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-10 12:29:28 +00:00
Alain Frisch
a0e661f623
Roll-back: natdynlink won't be ported to PowerPC anytime soon.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8499 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-09 15:06:57 +00:00
Alain Frisch
4944313b0c
Make it work under Win64.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8497 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-08 18:03:15 +00:00
Alain Frisch
44c0af7279
Bump limit before producing diversion. Pass /subsystem:console also on Win64.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8496 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-08 18:02:40 +00:00
Alain Frisch
a0679180a1
Under OpenBSD, one needs to link the pthread library in the main program.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8495 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-08 11:04:40 +00:00
Alain Frisch
8de0859214
Use RTLD_DEFAULT to access symbols from the main program + already loaded dlls (previous version did not work under FreeBSD).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8494 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-08 10:55:57 +00:00
Alain Frisch
90addd658c
*** empty log message ***
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8493 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-08 10:08:21 +00:00