Commit Graph

8019 Commits (d7cbf2a01a390f2fe6bedef1292bb5aa55d8b6f7)

Author SHA1 Message Date
Damien Doligez d7cbf2a01a PR5477: (continued) fix Tcl/Tk configuration to use $x11_link instead of $x11_libs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12148 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-10 15:29:36 +00:00
Damien Doligez 066ef003d4 typo in doc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12147 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-10 14:45:41 +00:00
Damien Doligez f283133875 PR#5159: better documentation of type "position"
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12144 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-10 09:08:02 +00:00
Damien Doligez b392c77aa6 PR#5385: add a warning when MACOSX_DEPLOYMENT_TARGET is set
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12143 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-09 18:41:53 +00:00
Damien Doligez 604f1de662 add missing link in doc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12140 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-07 16:41:02 +00:00
Damien Doligez f065ad5698 better documentation for format6
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12136 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-07 13:39:48 +00:00
Damien Doligez a776e35b9e reformat over-long lines
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12134 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-07 13:12:53 +00:00
Damien Doligez e61911c5c9 PR#4278: configure without graph; fix problem when X11 not found
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12132 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-07 12:43:34 +00:00
Damien Doligez b2e4161d38 set svn:keywords property
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12131 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-07 11:05:56 +00:00
Damien Doligez c260567018 PR#1164: better error message when giving .cmxa input files to ocamlopt -a
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12130 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-06 16:44:43 +00:00
Damien Doligez b28b11541f fix try_finally in case the finally function raises an exception
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12129 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-06 12:56:08 +00:00
Benedikt Meurer b5eec7890b Fix various compiler warnings in asmrun.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12128 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-05 09:56:23 +00:00
Xavier Leroy a775cb815b Related to #5493 again: more explanations about string mutation, string sharing, and why mutation is best avoided.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12127 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-05 09:51:49 +00:00
Benedikt Meurer d0f04172e7 Fix various compiler warnings in labltk.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12126 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-05 09:20:46 +00:00
Benedikt Meurer e76218f17d [arm] Update copyright notices as suggested by Xavier.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12125 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-05 08:47:16 +00:00
Benedikt Meurer 05627e0de4 Merge the new ARM backend into trunk (PR#5433).
Initial merge of the new ARM backend (commit ec5b444c7f) from my development
repository at https://github.com/bmeurer/ocaml-arm/tree/ec5b444c7f .

Compared to the old ARM backend, this one does the following:
- Support for both software and hardware floating-point (VFPv3).
- Properly supports interworking with Thumb/Thumb-2 code for both OCaml and C
  code.
- Supports dynamic linking and large memory models (PR#5049).
- Optional support for position-independent code via a command line option
  -fPIC. This is disabled by default and not required for natdynlink.
- Can emit both ARM and Thumb-2 code, with avg. code size savings of 28% for
  Thumb-2 (quite close the optimal 30% advertised by ARM Ltd.).
- Supports both AAPCS (armel) as well as extended VFP calling conventions
  (armhf).
- Supports several special ARM instructions to reduce code size and latency.
- Uses standard ARM EABI runtime functions instead of relying on GCC internals.
- Supports exception backtraces.
- Supports profiling using gprof.



git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12124 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-04 10:15:24 +00:00
Benedikt Meurer bb007b5a22 [i386] Don't override insert_op.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12123 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-04 10:00:44 +00:00
Benedikt Meurer 78e2ed88d8 [amd64] Don't override insert_op.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12122 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-04 10:00:09 +00:00
Benedikt Meurer 89f48bff91 Implement insert_op using insert_op_debug in Selectgen.
This way we don't need to override insert_op AND insert_op_debug for
every port that cares about them.



git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12121 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-04 09:59:28 +00:00
Benedikt Meurer fb327a7c2b Also pass Cmm.memory_chunk to select_addressing.
The rational behind this change is that for the ARM instruction sets, the
valid range for address offsets depends on the type of data being loaded
or stored.



git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12120 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-04 09:43:33 +00:00
Damien Doligez 816ac58196 PR#5176: caml-types.el: large types trigger stack overflow in regexp matcher
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12119 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-03 20:37:26 +00:00
Damien Doligez 1afe70ff8a PR#5403: give better error message when emacs is not found in PATH
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12118 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-03 16:04:49 +00:00
Damien Doligez b31d4272bc update instructions for recompilation under MSVC
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12117 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-03 16:03:43 +00:00
Damien Doligez daec73519d at least on my machine, makeindex doesn't like "|"| in a \verb within a \index
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12116 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-03 16:02:28 +00:00
Damien Doligez 94f9c9fa83 cut long lines
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12115 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-03 16:01:21 +00:00
Damien Doligez 76538749ee hack to make ocamldoc happy; should be fixed properly
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12114 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-03 16:01:06 +00:00
Benedikt Meurer 1e0de976fa Don't attempt to install Camlp4 if -no-camlp4 was specified.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12113 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-03 12:03:04 +00:00
Jacques Garrigue eced476cce Fix PR#5498
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12111 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-03 05:58:57 +00:00
Damien Doligez fd944666c2 PR#5477 use pkg-config to configure graphics on linux
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12110 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-01 21:30:35 +00:00
Fabrice Le Fessant 3a15ca4ea1 Update Changes for last commit
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12109 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-01 09:31:26 +00:00
Fabrice Le Fessant 84a0c4190d Fix PR#4072
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12108 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-01 09:30:23 +00:00
Jonathan Protzenko 824179a92f Partial fix for #5398: at least avoid an out-of-bounds access.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12104 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-30 16:07:18 +00:00
Jonathan Protzenko d9d4bd2ad0 Related to #5493: document in string.mli the fact that string constants are shared.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12102 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-30 15:33:42 +00:00
Jonathan Protzenko 438da6350a Fix #5383: Cannot build OCaml 3.12.1 Win32/MSVC
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12100 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-30 14:51:54 +00:00
Fabrice Le Fessant 82d5630bab Small fix on the previous commit
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12092 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-27 13:58:04 +00:00
Fabrice Le Fessant f48f2f229c Fix PR#5396
Add the following options to ocamldep:
-sort: print files sorted according to their dependencies
-all: print all dependencies, not only the ones wanted by make
-one-line: don't break lines when they become too long



git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12089 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-27 13:46:00 +00:00
Damien Doligez 43a7d2f07e document the interval notation for warning sets; use it for default warnings
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12087 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-27 13:28:56 +00:00
Damien Doligez 216187cfd2 PR#1898: add -nopromptcont option to suppress secondary prompts
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12086 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-27 12:50:31 +00:00
Damien Doligez 3836d4086a PR#1898: add -nopromptcont option to suppress secondary prompts
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12085 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-27 12:48:15 +00:00
Damien Doligez 8328795309 fix a mistake and add stronger warning against using -warn-error in production
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12084 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-27 11:25:02 +00:00
Damien Doligez 2a15127aa8 fix whitespace
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12083 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-27 10:42:59 +00:00
Damien Doligez 7092fb36d6 PR#1835: add function Digest.from_hex
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12082 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-26 22:56:48 +00:00
Damien Doligez ff00570de4 fix whitespace
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12081 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-26 14:13:51 +00:00
Damien Doligez 1f493d056e PR#1496: allow configuring LIBDIR, BINDIR, and MANDIR relative to $(PREFIX)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12080 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-26 13:02:51 +00:00
Fabrice Le Fessant 1d8acd3f92 Fix PR#5493 by documentating
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12079 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-26 10:24:35 +00:00
Damien Doligez ca77f037e3 ignore generated files
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12078 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-25 14:54:47 +00:00
Damien Doligez 6d33d232ff PR#1284: documentation: remove restriction on mixed streams
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12077 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-25 14:50:03 +00:00
Damien Doligez 38b827b7e4 fix configure on MacOSX after upgrade of config.sub and config.guess
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12074 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-23 15:44:01 +00:00
Damien Doligez e8e3d14e01 fix configure on MacOSX/64-bit; add an option to configure or build without camlp4
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12073 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-23 15:18:22 +00:00
Damien Doligez 2258a237af fix whitespace
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12072 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-23 15:09:07 +00:00