caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* RE: [Caml-list] dynamic loading on intel macs
@ 2006-04-20 11:39 car
  0 siblings, 0 replies; only message in thread
From: car @ 2006-04-20 11:39 UTC (permalink / raw)
  To: caml-list

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-04-20 11:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-20 11:39 [Caml-list] dynamic loading on intel macs car

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).