Alain Frisch
0c4c54c990
Get rid of ocamlcomp.sh. The next step is to share all those common declarations for calling the compilers from various places.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14521 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-02 16:20:38 +00:00
Mark Shinwell
1f4de8b799
use -bin-annot when building
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14448 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-03-07 14:47:30 +00:00
Xavier Leroy
33f242aaea
Reverting the elimination of the ocamlcomp*.sh scripts, namely the following commits:
...
14278
14277
14276
14176
14175
14173
14172
14171
14169
14168
14167
These changes need to mature on their own branch.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14329 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-11-29 13:04:38 +00:00
Wojciech Meyer
241585bc83
build: replace ocamlcomp*.sh.
...
This script was built from ocamlcomp.sh.in through sed and is called
instead of "ocamlc" (for instance).
It makes it possible to switch from "ocamlc" to "ocamlc.opt" without
changing anything in the Makefiles, only calling sed.
I couldn't cleanly make it handle both a compiler for the target and for
the build. Instead I'm replacing it and doing as much as possible
directly in the Makefiles.
I hoped it would reduce the number of shell invocations, which would
speed things up quite a lot on Windows but I still had to have at least
one since it's not possible to update a make variable from inside a make
rule: i.e. it's not possible to do X=a, build a.opt and update X to be
a.opt.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14168 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-20 00:22:38 +00:00
Damien Doligez
7844495624
Merge branch 4.01 from branching point to 4.01.0+rc1
...
Command line used:
svn merge --accept postpone -r 13776:14055 $REPO/version/4.01 .
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14060 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-04 15:12:37 +00:00
Damien Doligez
def31744f9
remove all $Id keywords
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-15 17:50:56 +00:00
Jacques Garrigue
7ec7f16f55
fix module order
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12868 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-08-21 04:45:02 +00:00
Alain Frisch
dd6d8257c0
Enabled 'unused rec flag' warning.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12503 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-29 12:33:51 +00:00
Alain Frisch
a0a14c08fa
Enable and fix more warnings.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12498 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-29 11:47:28 +00:00
Alain Frisch
05c973e6ed
Compile with warning 33, and remove unused opens.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12497 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-29 11:10:03 +00:00
Xavier Leroy
b2166e33f5
- Hashtbl:
...
. Added optional "random" parameter to Hashtbl.create to randomize
collision patterns and improve security (PR#5572, CVE-2012-0839)
. Added "randomize" function and "R" parameter to OCAMLRUNPARAM
to turn randomization on by default (PR#5572, CVE-2012-0839)
- Filename: on-demand (lazy) initialization of the PRNG used by "temp_file".
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12384 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-19 13:17:40 +00:00
Damien Doligez
3b507dd1aa
renaming of Objective Caml to OCaml and cleanup of copyright headers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Damien Doligez
2b0441401a
merge changes between 3.10.2 and the end of branch 3.10
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9079 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-08 13:09:39 +00:00
Michel Mauny
666cb14adf
Implement Lazy.force as a primitive, and optimize its calls.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8974 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 16:57:10 +00:00
Pierre Weis
59e0723455
It works: compilers and camlp4 are fully bootstrapped. The ast magic number is not yet changed.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8418 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-09 10:29:37 +00:00
Nicolas Pouillard
ec19231fb9
Fix the otherlibs/threads/Makefile to avoid useless re-compilations
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7870 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-16 09:54:55 +00:00
Pierre Weis
760873eff6
Add another target to preform the necessary links for unix.mli and unix.cmi.
...
This should not be the best way to achieve the correct compilation commands
chain.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7857 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-12 08:37:02 +00:00
Damien Doligez
35de2ce529
mise au carre des warnings XYZ
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6714 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-29 14:53:32 +00:00
Jacques Garrigue
0edba97cf6
new warning for black holes
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6703 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-29 02:27:25 +00:00
Damien Doligez
4ffbf5ec57
ajout warning unused variable
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6669 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-06 20:17:47 +00:00
Xavier Leroy
30d9dc3229
Ajout module CamlinternalMod (auxiliaires pour la compilation de 'module rec')
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6586 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-08-12 12:57:00 +00:00
Xavier Leroy
680a54d3c2
Faire cohabiter les threads bytecode et les threads systeme. Ajout option ocamlc -vmthread.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5705 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-17 08:38:28 +00:00
Xavier Leroy
230179ff8b
MAJ Makefiles
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5620 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-24 08:21:40 +00:00
Jacques Garrigue
9e565050e7
ordre dans stdlib.cma
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5608 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-23 01:39:33 +00:00
Jacques Garrigue
05c20a740d
add MoreLabels
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4983 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-08 07:30:08 +00:00
Xavier Leroy
fa10aa694e
Installer les stub DLLs dans LIBDIR/stublibs
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4960 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-27 11:36:02 +00:00
Pierre Weis
3c8d710aef
Disparition du module Scanning.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4851 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-27 22:02:44 +00:00
Pierre Weis
01ca2d9ec2
Introducing a ``scanf'' facility in Objective Caml.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4780 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-05-07 07:41:12 +00:00
Jacques Garrigue
b148bb401e
acceleration des Makefiles
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4758 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-27 14:45:33 +00:00
Jacques Garrigue
3a6bde877c
camlinternalOO
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4755 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-27 04:23:25 +00:00
Damien Doligez
c988e25c39
ajout -warn-error
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4284 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-20 16:30:40 +00:00
Damien Doligez
42f72c7694
ajout -warn-error
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4282 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-20 15:12:32 +00:00
Xavier Leroy
7501784c80
MAJ en-tetes pour mentionner la 'special exception' sur la LGPL
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4144 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-07 13:41:02 +00:00
Xavier Leroy
ac238f8632
Appeler ocamlmklib via ocamlrun (PR#613)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3999 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-08 10:32:24 +00:00
Jun FURUSE / 古瀬 淳
4e4431eb84
remove dll*.so
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3984 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-05 16:26:31 +00:00
Xavier Leroy
343d49401a
Revu gestion des DLLs: ne pas les utiliser en mode -custom; dans les .cma et .cmxa, stocker separement les options pour linker statiquement (-cclib) et par chargement dynamique (-dllib).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3949 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-30 09:32:32 +00:00
Jacques Garrigue
12e6fe3ffa
be friendly to non-gnu make
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3860 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-06 02:24:45 +00:00
Xavier Leroy
0f7d388a10
UnixLabels doit etre inclus dans unix.cma
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3834 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-02 15:12:10 +00:00
Jacques Garrigue
ea299bbbc1
passage aux labels stricts
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3696 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-09-06 08:52:32 +00:00
Xavier Leroy
ddd99c7e5d
Chargement dynamique de primitives C
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-08-28 14:47:48 +00:00
Xavier Leroy
6919159c42
Rendu Unix thread-safe; ThreadUnix est deprecated
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3542 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-06-25 08:04:00 +00:00
Xavier Leroy
b40b5c1c73
Afficher un backtrace lorsqu'une exception termine un thread
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3528 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-06-15 14:23:20 +00:00
Xavier Leroy
63224d6b80
Version thread-safe de Marshal
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3257 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-07-28 08:49:50 +00:00
Jacques Garrigue
40bc6f1248
ordre incorrect dans stdlib.cma
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3089 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-16 12:37:59 +00:00
Xavier Leroy
c7b7c24381
Nouveau format de .cma et .cmxa, se rappelle des -cclib et -ccopt necessaires pour le link final
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2930 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-09 09:12:28 +00:00
Jacques Garrigue
74f4ceeb3f
ajout des entiers natifs
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2924 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-08 03:44:49 +00:00
Xavier Leroy
f723d5394f
Revu les Makefiles pour qu'ils utilisent ocamlc et non boot/ocamlc (puisqu'ils utilisent stdlib et non boot)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2789 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-05 12:16:09 +00:00
Jacques Garrigue
327ec4e36d
corrected order of .cmo in stdlib.cma
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2657 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-01 09:30:51 +00:00
Xavier Leroy
cc0f32b054
Changement de la licence
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-17 18:59:06 +00:00
Xavier Leroy
aab3d902b0
Oubli de Buffer
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2343 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-03-09 10:10:47 +00:00