summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Changes6
-rw-r--r--INSTALL17
2 files changed, 14 insertions, 9 deletions
diff --git a/Changes b/Changes
index c26c72847..932a3263b 100644
--- a/Changes
+++ b/Changes
@@ -1,4 +1,7 @@
-Next version
+Next version:
+-------------
+
+OCaml 4.01:
------------
(Changes that can break existing programs are marked with a "*")
@@ -61,6 +64,7 @@ Bug fixes:
* PR#5119: camlp4 now raises a specific exception when 'DELETE_RULE' fails,
rather than raising 'Not_found'
- PR#5121: %( %) in Format module seems to be broken
+- PR#5178: document in INSTALL how to build a 32-bit version under Linux x86-64
- PR#5212: Improve ocamlbuild error messages of _tags parser
- PR#5240: register exception printers for Unix.Unix_error and Dynlink.Error
- PR#5300: ocamlbuild: verbose parameter should implicitly set classic display
diff --git a/INSTALL b/INSTALL
index 98dfd31dc..e5c8f938f 100644
--- a/INSTALL
+++ b/INSTALL
@@ -151,21 +151,22 @@ Examples:
or:
./configure -prefix /usr -mandir '$(PREFIX)/man/manl'
- On a MacOSX 10.5/Intel Core 2 or MacOSX 10.5/PowerPC host,
- to build a 64-bit version of OCaml:
- ./configure -cc "gcc -m64"
-
- On a MacOSX 10.6/Intel Core 2, to build a 32-bit version of OCaml:
- ./configure -cc "gcc -m32" -as "as -arch i386" -aspp "gcc -m32 -c"
-
On a Linux x86/64 bits host, to build a 32-bit version of OCaml:
- ./configure -cc "gcc -m32" -as "as --32" -aspp "gcc -m32 -c"
+ ./configure -cc "gcc -m32" -as "as --32" -aspp "gcc -m32 -c" \
+ -host i386-linux -partialld "ld -r -melf_i386"
On a Linux x86/64 bits host, to build the run-time system in PIC mode
(enables putting the runtime in a shared library,
at a small performance cost):
./configure -cc "gcc -fPIC" -aspp "gcc -c -fPIC"
+ On a MacOSX 10.5/Intel Core 2 or MacOSX 10.5/PowerPC host,
+ to build a 64-bit version of OCaml:
+ ./configure -cc "gcc -m64"
+
+ On a MacOSX 10.6/Intel Core 2, to build a 32-bit version of OCaml:
+ ./configure -cc "gcc -m32" -as "as -arch i386" -aspp "gcc -m32 -c"
+
For Sun Solaris with the "acc" compiler:
./configure -cc "acc -fast" -libs "-lucb"