English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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-----
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

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:
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs