Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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-----
From: caml-list-bounces@yquem.inria.fr
[mailto:caml-list-bounces@yquem.inria.fr] On Behalf Of Chris Waterson
Sent: Thursday, April 20, 2006 12:15 AM
To: caml-list@yquem.inria.fr
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
loading.

Sorry if this has already been reported.

chris



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 @@
        byteccrpath="-Wl,-rpath,"
        mksharedlibrpath="-rpath "
        shared_libraries_supported=true;;
-    powerpc-apple-darwin*)
+    *-apple-darwin*)
        mksharedlib="cc -bundle -flat_namespace -undefined suppress -o"
        bytecccompopts="$dl_defs $bytecccompopts"
        #sharedcccompopts="-fnocommon"

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs