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
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
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
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
Damien Doligez
1dd68ccf50
ajout des annotations pour variables et appels terminaux
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8232 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-05-16 08:21:41 +00:00
Nicolas Pouillard
81cfc29b31
Better handling of multiple extensions (foo.d.cmo, foo.p.cmx...)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7909 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-23 13:44:51 +00:00
Damien Doligez
f700284aac
fusion des changements 3.09.3 -> release309_merge310
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7849 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-09 13:31:15 +00:00
Xavier Leroy
b0041ea963
Revised DLL loading: distinguish between loading for execution
...
(ocamlrun, dynlink, toplevel) and loading for checking the existence
of symbols (ocamlc). This is needed for Windows with manifests and
not a bad idea for other platforms.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7656 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-28 21:36:38 +00:00
Xavier Leroy
8d3d91b9a3
Attempt to support Visual C++ 2005. Remain to be tested.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7636 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-23 08:51:31 +00:00
Jacques Garrigue
9e157e5651
do not use builtins directly
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7471 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-06 07:32:28 +00:00
Xavier Leroy
09921987cc
Deplacement des infos de format des .cmo et .cma dans Cmo_format
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7422 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-11 15:50:53 +00:00
Xavier Leroy
536dfe0d7c
Ajout option /link /subsystem:console pour Windows/msvc et meilleur traitement des options /link passees via -ccopt
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7405 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-09 16:00:36 +00:00
Damien Doligez
1279ab4b76
fusion des changements 3.09.1 -> 3.09.2
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7382 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-16 23:28:22 +00:00
Jacques Garrigue
602146f892
add virtual instance variables
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7372 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-05 02:28:13 +00:00
Damien Doligez
f6190f3d0c
PR#1956 renommage: bigarray est prefixe par ocaml_ba_
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7341 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-27 14:33:42 +00:00
Damien Doligez
64666f7de7
PR#3809 wrong line numbers in backtrace (partial)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7160 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-25 15:56:45 +00:00
Xavier Leroy
58a48bd806
Retour en arriere sur precedente modif (PR#3556), problematique quand toutes les primitives C sont exportees avec 'external'
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7124 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-13 13:32:06 +00:00
Xavier Leroy
d805f2e984
Si aucun module d'un .cma est utilise, ne pas linker les bibliotheques C specifiees dans le .cma (PR#3556)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7078 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-24 16:28:21 +00:00
Luc Maranget
fbf58963a8
PR #3870
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7046 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-07 16:07:48 +00:00
Damien Doligez
1ced22dda7
PR#3767 features 1 and 2: display full location of events instead of one position
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7031 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-25 15:35:16 +00:00
Damien Doligez
a4a3c10e70
fusion des modifs de 3.08.4
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7019 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-13 20:59:37 +00:00
Jacques Garrigue
f30c72cb08
fix PR#3576 (put free methods in environment)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6828 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-04-04 04:09:12 +00:00
Luc Maranget
3d448065a6
Hum, some printout code left
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6812 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-11 12:50:45 +00:00
Luc Maranget
3135e5fd76
La suite: en cas de gardes le pattern macthing est compile en mode "Partial"
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6811 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-11 12:44:09 +00:00
Luc Maranget
d945bc62f4
Match compiler : prune context for all mutable fields
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6809 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-11 10:12:05 +00:00
Jacques Garrigue
582b64e8c0
share some strings
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6715 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-30 07:28:00 +00:00
Damien Doligez
b586214af9
suppression de code mort
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6710 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-29 14:51:25 +00:00
Jacques Garrigue
6d1d85e520
compact classes
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6702 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-29 02:26:45 +00:00
Luc Maranget
1209356ca6
avoid -W Y warnings in some source I wrote
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6696 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-25 12:44:33 +00:00
Jacques Garrigue
36a11d068b
unused variables
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6687 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-22 08:42:34 +00:00
Xavier Leroy
c2ac86736b
Revu compilation de 'module rec'
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6584 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-08-12 12:55:11 +00:00
Xavier Leroy
237006931a
Fusion des modifs faites sur la branche release jusqu'a la release 3.08.0
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6552 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-07-13 12:19:15 +00:00
Xavier Leroy
762a006652
Impression des 'rec' et des 'and' dans les signatures inferees (PR#1981,2585)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6386 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-06-12 08:55:49 +00:00
Jacques Garrigue
6a940ef65d
switch to new vtable representation
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6331 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-05-26 11:10:52 +00:00
Luc Maranget
07bd0b3570
bug signale par G. Peskine, a la base il faut faire confiance a l analyse d exhaustivite
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6272 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-29 12:38:11 +00:00
Jacques Garrigue
36148f2f4e
get_meth
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6267 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-28 08:40:26 +00:00
Jacques Garrigue
05b6ab1aa8
cas d'un appel de methode d'un autre objet
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6265 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-28 03:45:41 +00:00
Xavier Leroy
7a53dbb6f0
Optimisation des tableaux constants: PR#2017
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6234 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-18 08:16:54 +00:00
Basile Starynkevitch
941263f019
added static_release_bytecode
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6224 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-16 13:46:43 +00:00
Jacques Garrigue
acbda37314
quick fix for PR#2458
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6213 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-16 00:50:23 +00:00
Damien Doligez
ebc03c1000
suppression support macos 9
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6206 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-15 14:57:56 +00:00
Xavier Leroy
f8ae9668d9
Pour l'option -pack, ajout possibilite de donner des .cmi sur la ligne de commande pour denoter des sous-modules dont l'implementation est identique a l'interface
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6196 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-09 13:32:28 +00:00
Xavier Leroy
e2b313a055
Rendre ocamlc -output-obj compatible avec Dynlink et le toplevel
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6130 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-02-22 15:07:51 +00:00
Damien Doligez
776a8d59b7
suppression support MacOS9
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6074 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-16 15:24:03 +00:00
Damien Doligez
ba3f92d0ab
PR#2020
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6057 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-04 15:50:43 +00:00
Damien Doligez
0c7aecb88d
depollution suite (et fin?) (PR#1914 et PR#1956)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6047 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-02 19:23:29 +00:00
Damien Doligez
5a678d29f5
depollution suite (PR#1914 et PR#1956)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6045 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-01 16:42:43 +00:00