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
Alain Frisch
3994064914
Restore dependencies to Widgets.src
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8492 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-08 09:53:35 +00:00
Alain Frisch
185ec52922
Remove spurious .depend
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8491 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-08 09:47:48 +00:00
Alain Frisch
572d162e30
Restore include dirs for X11.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8490 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-08 09:23:06 +00:00
Alain Frisch
eacafd064f
Fixes for BSD make.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8489 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-08 09:17:48 +00:00
Alain Frisch
93bf48211f
Do not use MKLIB on Unix (BSD make does not support it).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8487 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-08 08:54:30 +00:00
Alain Frisch
36ab6c07af
Build cmxs for otherlibs only on archs where it is supposed to work.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8486 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-07 10:26:53 +00:00
Alain Frisch
4ad23db783
Fix ocamlmktop compilation.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8485 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-07 10:14:21 +00:00
Alain Frisch
9299a19d8b
Don't use BYTECCCOMPOPTS twice.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8484 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-07 08:58:35 +00:00
Pierre Weis
fb36a0d09e
Ignoring .bin binaries.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8483 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-06 21:07:23 +00:00
Pierre Weis
4ca0dc6cff
Adding a test for private abbrevs.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8482 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-06 21:06:18 +00:00
Alain Frisch
3439013380
Bump rev number.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8481 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-06 16:31:39 +00:00
Alain Frisch
2cc37daa2e
Test outputobj.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8480 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-06 16:27:00 +00:00
Alain Frisch
8a11c2d1a4
Fix typo (AS -> ASM).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8479 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-06 15:48:11 +00:00
Alain Frisch
3958a92c72
Merge the natdynlink branch into HEAD.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8477 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-06 15:16:56 +00:00
Pierre Weis
2a99b8737b
Expanding the usual compiler's type-based optimisations to private abbreviations.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8474 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-01 18:36:43 +00:00
Pierre Weis
9a14822959
MAJ.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8473 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-01 18:32:49 +00:00
Xavier Leroy
45f7137dd3
PR#4351: try to avoid rescheduling in mutex and condvar operations
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8468 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-31 09:12:29 +00:00