Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
RE: [Caml-list] dynamic loading on intel macs
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-04-20 (11:39)
From: car@r...
Subject: RE: [Caml-list] dynamic loading on intel macs
Is there a specific reason the -fno-common option is commented out of
the configuration for darwin?  Without it there is no way to construct a
linking shared library because libasmrun.a contains common symbols.

Chris Rath

-----Original Message-----
[] On Behalf Of Chris Waterson
Sent: Thursday, April 20, 2006 12:15 AM
Subject: [Caml-list] dynamic loading on intel macs

I think there's one more change to get stuff working fully on the
Intel Macs.  Specifically, they ought to be able to support dynamic

Sorry if this has already been reported.


diff -u -r ocaml-3.09.2-orig/configure ocaml-3.09.2/configure
--- ocaml-3.09.2-orig/configure 2006-03-30 02:00:19.000000000 -0800
+++ ocaml-3.09.2/configure      2006-04-19 21:05:07.000000000 -0700
@@ -536,7 +536,7 @@
        mksharedlibrpath="-rpath "
-    powerpc-apple-darwin*)
+    *-apple-darwin*)
        mksharedlib="cc -bundle -flat_namespace -undefined suppress -o"
        bytecccompopts="$dl_defs $bytecccompopts"

Caml-list mailing list. Subscription management:
Beginner's list:
Bug reports: