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
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
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
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
Alain Frisch
bfb35c4fce
#5478 : makes it possible to specify a custom 'ar' command.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12027 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-16 09:05:37 +00:00
Damien Doligez
0c7984afc6
PR#5453: configure doesn't find X11 under Ubuntu/MultiarchSpec
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11978 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-29 20:42:11 +00:00
Jonathan Protzenko
253e88bc67
Fix #5393 : make sure -R is only passed to the linker with a BSD that has a BSD userland
...
Patch by: Stéphane Glondu <stephane@glondu.net>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11925 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-21 15:56:10 +00:00
Damien Doligez
a85549ccf6
cygwin is changing from Windows-based to X-based tcl/tk
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11921 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-21 15:30:54 +00:00
Xavier Leroy
366da2c721
Removed the obsolete native-code generators for Alpha, HPPA, IA64 and MIPS,
...
part 2: configure.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11883 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-17 11:21:24 +00:00
Xavier Leroy
9178181eae
The "DBM" library (interface with Unix DBM key-value stores) is no
...
longer part of this distribution. It now lives its own life at
https://forge.ocamlcore.org/projects/camldbm/ . Bye bye, DBM.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11881 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-17 10:45:23 +00:00
Damien Doligez
9058296d2f
configure correctly under Mac OS 10.7 Lion (darwin11)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11163 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-08-04 14:31:34 +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
c91db736b1
merge changes from 3.12.0 to 3.12.1
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11123 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 09:17:07 +00:00
Xavier Leroy
174ff0b018
PR#3806, 4752, 5246: added "hypot" and "copysign" to Pervasives.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11065 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-04 08:55:55 +00:00
Damien Doligez
31b0292413
renaming "Objective Caml" to "OCaml" (first pass)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11015 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-04-26 12:16:50 +00:00
Pierre Weis
63ff703dbf
Should choose recent versions of Tk/Tcl first.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10984 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 22:37:46 +00:00
Pierre Weis
0ab3788be5
Merging with 3.12 version
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10983 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 22:34:52 +00:00
Damien Doligez
a53ce2df70
add option -runtime-variant
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10982 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 16:18:05 +00:00
Damien Doligez
575555eecd
merge changes from branching of 3.12 to release/3.12.0
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10643 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-08-02 14:37:22 +00:00
Mark Shinwell
7c11c2acf9
add -liberty to LIBBFD_LINK
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10625 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-07-13 09:22:44 +00:00
Xavier Leroy
d8d8390f05
More prudent detection of natdynlink on MacOS 10.4 and 10.5
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10490 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-06-02 08:58:42 +00:00
Xavier Leroy
1ad3294362
natdynlink supported on Intel / MacOS 10.4 and 10.5 platforms
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10489 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-06-02 08:56:11 +00:00
Alain Frisch
d7b5f7e6cb
Update list of architectures where natdynlink is supposed to work.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10479 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-31 10:09:32 +00:00
Alain Frisch
2084d92c93
Natdynlink is supposed to work for host=i[3456]86-*-darwin10. in 64-bit.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10473 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-28 11:40:00 +00:00
Alain Frisch
9c07d1022f
Typo in last commit.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10464 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-25 11:12:48 +00:00
Alain Frisch
e03c2f78ca
Typo in last commit.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10463 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-25 11:12:37 +00:00
Alain Frisch
3e12ede6e7
More explicit list of hosts where natdynlink is enabled.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10462 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-25 11:10:59 +00:00
Alain Frisch
47dbbc7d7f
Decide at config time if natdynlink is supported or not, but always compile/install dynlink.cmxa to simplify 3rd party packages. A runtime exception signals an unsupported natdynlink.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10461 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-25 10:00:39 +00:00
Xavier Leroy
2adec7d747
PR#5033: tools/objinfo made more general.
...
tools/dumpapprox removed, now subsumed by tools/objinfo.
Introduced asmcomp/cmx_format.mli and used consistently in asmcomp,
tools/objinfo, and otherlibs/dynlink
Note: ocamlbuild -based build procedure not updated yet.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10424 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-19 11:29:38 +00:00
Damien Doligez
f93ec9a9cd
disable shared libraries on 32-bit 10.6
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10338 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-30 14:18:45 +00:00
Xavier Leroy
2f65c774e3
PR#4984: SPARC-specific code in BNG causes problems, so turn it off
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10267 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-18 08:44:53 +00:00
Damien Doligez
9f1516ff36
suppress linker warning message on Mac OS X 10.6.x / x86_64
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10214 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-03-25 14:51:49 +00:00
Damien Doligez
bdc0fadee2
merge changes from release/3.11.1 to release/3.11.2
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9540 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-20 16:26:46 +00:00
Damien Doligez
be8721c1da
portability for different versions of make and echo
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9533 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-19 14:56:22 +00:00
Damien Doligez
71b94fa3e8
merge changes from ocaml3111rc0 to ocaml3111
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9319 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-07-20 11:51:50 +00:00
Damien Doligez
ed32f569e3
merge changes from ocaml3110 to ocaml3111rc0
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9270 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-05-20 11:52:42 +00:00
Xavier Leroy
238cf4bde3
PR#3047: added Unix.setgroups, Unix.initgroups.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9220 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-04-01 16:50:10 +00:00
Xavier Leroy
2da17c49c6
PR#4638: added expm1 and log1p.
...
Cleaned up some doc comments in stdlib/pervasives.mli
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9216 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-04-01 16:08:37 +00:00
Damien Doligez
9e6bbde5aa
PR#4722 typo
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9188 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-03-16 14:36:51 +00:00
Damien Doligez
1f95b17570
merge changes from 3.10.2merged to 3.11.0
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9153 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-12-03 18:09:09 +00:00
Damien Doligez
f609381328
better test for BSD dynlinker
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9072 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-06 13:31:47 +00:00
Pierre Weis
b038820dc8
Configuration of dll search paths on BSD systems
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9042 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-28 21:11:45 +00:00
Pierre Weis
45f76fe7cb
Makefile support to clean shared library objects.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-10 05:51:11 +00:00
Pierre Weis
10b38811b6
Support for tk8.5: correcting tk_incs.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8899 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-01 09:55:52 +00:00
Jacques Garrigue
ad3ca0e02b
add support for Tcl/Tk 8.5 (but no directory autodetect)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8879 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-05-02 06:41:30 +00:00
Alain Frisch
95d9511cf6
Drop support for the old bundle API for Mac OS X (<= 10.3).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8876 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-04-22 12:40:14 +00:00
Alain Frisch
ff421e9e8b
Cleanup + pass -Wl,-E to linker when linking dynlink.cma in custom mode.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8868 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-04-16 06:50:31 +00:00
Damien Doligez
beb152b1a9
instruction manquante
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8788 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-22 17:08:13 +00:00
Damien Doligez
9ea5edac9a
merge changes 3.10.0 -> 3.10.1
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8768 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-11 16:13:18 +00:00