Commit Graph

793 Commits (4235c38b7f172d84ac2a8f6a50f0a58ce32d5b03)

Author SHA1 Message Date
Damien Doligez e9a9bf9613 PR#3114 make all error messages start with a location and "Error: "
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8705 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-04 13:38:58 +00:00
Damien Doligez 16e4a68197 PR#4243 partial solution
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8615 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 19:01:50 +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 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
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
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 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 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 773ff5b883 probleme avec les .depend
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8415 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-08 12:30:31 +00:00
Damien Doligez 04db6e0e82 meilleur message d'erreur
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8414 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-08 12:29:22 +00:00
Damien Doligez d148e1954e grosse amelioration des Weak a courte duree de vie
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8211 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-05-04 14:05:13 +00:00
Damien Doligez 95295f121e comment
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8125 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-03-26 13:27:32 +00:00
Xavier Leroy 578cc03cf9 Improved self initialization of PRNGs under Win32
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7944 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-03-01 13:37:39 +00:00
Xavier Leroy b4beb4dd7f Stack overflow detection not working under Win64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7943 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-03-01 10:27:48 +00:00
Xavier Leroy 1398fbbe1f Ajout de Sys.is_directory (PR#4054 + needed by ocamlbuild)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7927 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-26 14:21:57 +00:00
Xavier Leroy efbf67e517 Tentative fix for PR#3927. To be tested.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7921 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-25 14:38:11 +00:00
Xavier Leroy 160e4050d8 Raise Sys_blocked_io only in I/O operations that return EAGAIN/EWOULDBLOCK. Other, non-I/O related system calls can also return EAGAIN (e.g. in Sys.command); these should raise Sys_error, not Sys_blocked_io
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7919 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-25 12:38:36 +00:00
Xavier Leroy 2155767c84 Implemented atomic Read_and_clear for PPC64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7905 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-23 09:43:14 +00:00
Xavier Leroy cdd2241864 Factor out common code between byterun/signals.c and asmrun/signals.c:
- shared code in byterun/signals.c
  - bytecode-specific code in byterun/signals_byt.c
  - asm-specific code in asmrun/signals_asm.c


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7904 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-23 09:29:45 +00:00
Pierre Weis 5dfee27596 Procedure caml_dlopen takes two arguments. Some C compilers do not accept a
definition with 2 arguments after a declaration with only one.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7851 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-12 07:57:25 +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
Damien Doligez 5b52f30e7d deplacement du numero de version -> fichier VERSION a la racine
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7833 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-07 14:49:42 +00:00
Xavier Leroy 1baa43a304 Added shortcut if == to caml_string_compare and caml_string_equal
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7819 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-30 09:52:08 +00:00
Xavier Leroy 0eaf3a256c System stack overflow detection for Win32
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7814 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-29 15:50:45 +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
Damien Doligez f4702f8208 PR#4167 ajout de const dans fail.h
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7758 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-24 14:40:11 +00:00
Xavier Leroy b52f0c3cbd Commentaires
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7669 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-03 11:52:40 +00:00
Xavier Leroy 6e2cebb9b6 Debug message for DLLs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7668 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-03 11:52:15 +00:00
Xavier Leroy b3fb8243f8 Compatibilite avec Visual C++ version 6
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7660 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-01 15:40:28 +00:00
Xavier Leroy 86fcc212e7 Be more prudent with previous change: not sure RTLD_LAZY works everywhere
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7659 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-29 08:18:22 +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 665b2d65b1 Utiliser MKEXE
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7655 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-28 20:38:05 +00:00
Xavier Leroy 5b2a05bb8e Utiliser MKEXE
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7649 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-26 09:37:50 +00:00
Xavier Leroy f3fab9a259 Tentative fix for PR#4098. Need testing.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7622 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-20 17:37:08 +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 09ec1094c6 Bump default max stack size to what the new Camlp4 expects
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7615 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-19 12:40:29 +00:00
Damien Doligez b21b8dcc8a ajout de "const" au parametre de hash_value_name PR#3178 et PR#3396
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7596 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-11 12:12:24 +00:00
Xavier Leroy c6ce97fe26 gcc optimizations for PPC64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7565 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-08-18 14:51:59 +00:00
Nicolas Pouillard 1f8ca2dc7b Put parenthesis around arguments to please the compilation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7516 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 19:30:18 +00:00
Damien Doligez 865ec79b34 PR#4039, PR#4062
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7499 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 08:05:26 +00:00
Xavier Leroy 7e41567e69 Utilisation OUTPUTEXE
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7413 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-09 16:04:49 +00:00
Xavier Leroy 5ec8a05157 More fixes for IL32LLP64 model
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7399 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-05 13:50:45 +00:00
Xavier Leroy b89cda5f86 Nettoyages pour modele IL32LLP64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7394 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-04 12:41:26 +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
Michel Mauny a136b3fedd Fixed bug #3818 (set_binary_mode_out for Cygwin)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7165 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-25 19:15:36 +00:00
Damien Doligez 0e5ca9dca5 nettoyage
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7164 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-25 18:34:07 +00:00