Commit Graph

543 Commits (6568f8eea9706598739dc201345eb07178df1683)

Author SHA1 Message Date
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 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 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
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 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
Xavier Leroy 9ccb911666 Can select which assembler to use at configuration time (PR#4171)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8462 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-30 12:37:16 +00:00
Damien Doligez 4167841b16 fusion de la version 3.10.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8416 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-08 14:19:34 +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
Xavier Leroy 25bb3c6f12 Make name of object file for package initialization unique (needed for the MSVC port)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7945 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-03-01 13:38:54 +00:00
Xavier Leroy 66b5626778 Stack backtraces for Win64/AMD64 (bug fixes)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7942 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-03-01 10:26:51 +00:00
Xavier Leroy d42ff170b6 Stack backtraces for Win64/AMD64 (not tested yet)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7941 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-03-01 10:12:38 +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
Xavier Leroy 9dd6085165 PR#4152: avoid repeated calls to transl in transl_unbox_let
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7892 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-22 12:13:00 +00:00
Alain Frisch 5b23012b0e wrong branch... rollback
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7865 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-15 18:36:08 +00:00
Alain Frisch a06311fc5f starting to implement native dynlink for Unix
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7864 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-15 18:32:09 +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 4b5512c74c Stack backtraces on uncaught exceptions in native code (merge of the opt_backtrace branch)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7812 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-29 12:11:18 +00:00
Xavier Leroy 24d7c3c7f7 Compatibilite avec versions plus recentes de ml64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7810 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-24 14:14:28 +00:00
Xavier Leroy 8a2cea5444 Produce position-independent code by default. This makes it easier to embed Caml code in a shared library.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7784 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-01 13:07:35 +00:00
Xavier Leroy 5213cb0677 PR#4181: watch out for big constants in Ioffset_loc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7771 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-12-16 09:58:09 +00:00
Xavier Leroy 35d863e204 Utiliser link /lib comme partial linker sous Windows/MSVC; adapter versions Unix et Windows/Mingw en consequence
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7696 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-18 08:21:24 +00:00
Xavier Leroy 5901580fe9 Better handling of .cmx files in combination with -for-pack (PR#4124)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7693 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-17 12:33:58 +00:00
Xavier Leroy f2027274dd gprof profiling support for MacOSX/Intel (PR#4087)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7692 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-16 08:40:42 +00:00
Xavier Leroy b32cd009b8 Dead code eliminated
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7667 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-03 11:51:57 +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
Xavier Leroy 840e64f9b1 PR#4110: error in computation of required stack size in case #arguments > 16
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7628 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-21 09:12:17 +00:00
Damien Doligez fbea66a95e fusion des changements 3.09.2 -> 3.09.3
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7619 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-20 11:14:37 +00:00
Xavier Leroy d9be4fee6a Portage PowerPC 64 bits
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7430 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-31 08:16:34 +00:00
Xavier Leroy 10bc3be245 Silence the ml64 assembler
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7406 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-09 16:00:57 +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
Xavier Leroy b34288b2a1 Issues with Iconst_int of a constant that exceeds 32 bits signed
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7401 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-05 14:58:14 +00:00
Xavier Leroy e3ac89c82d Suite essais Win64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7398 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-05 13:50:14 +00:00
Xavier Leroy a8ac504984 First cut for AMD64/Win64 port of ocamlopt
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7395 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-04 12:43:40 +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
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 125ea40d4c fusion 3.09.0 -> 3.09.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7307 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-04 16:55:50 +00:00
Xavier Leroy c7cf15ccf0 Bug dans subst, cas Uletrec
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7157 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-24 09:05:27 +00:00
Xavier Leroy dbbd9f6ff5 Revu compilation let rec de fonctions pour eviter temps de compilation quadratique en le nombre de fonctions mutuellement recursives
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7149 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-21 07:55:01 +00:00
Xavier Leroy f7d58639e0 unused let
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7130 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-14 16:41:06 +00:00
Xavier Leroy cc11c0447a Ajout production de code relogeable (option -fPIC)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7121 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-13 03:53:52 +00:00
Jacques Garrigue fa7b15b858 remove dead code
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7107 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-07 09:34:19 +00:00
Xavier Leroy 8549490a55 PR#3587
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7079 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-24 16:45:56 +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
Xavier Leroy d4d7720ca9 Revu implementation de ocamlopt -pack. Remplacement du renommage a posteriori par un renommage a priori via l'option -for-pack
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7003 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-01 15:51:09 +00:00
Damien Doligez 6c9bac39d4 ajout de l'option -config (suggestion de Gerd Stolpmann)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6865 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-05-09 13:39:17 +00:00
Xavier Leroy fa9e17fc17 Unused variable
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6843 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-04-17 08:22:28 +00:00
Damien Doligez 461779527f ajout support ocamlopt -pack pour Mac OS X
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6750 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-01-21 18:15:55 +00:00
Xavier Leroy 9106fef156 let inutile
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6719 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-30 17:07:11 +00:00