caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: <car@research.att.com>
To: <caml-list@yquem.inria.fr>
Subject: RE: [Caml-list] dynamic loading on intel macs
Date: Thu, 20 Apr 2006 07:39:36 -0400	[thread overview]
Message-ID: <77E42FE8D777074488824B5D4056A2FE017CEE94@NJFPSRVEXG2KCL.research.att.com> (raw)

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



                 reply	other threads:[~2006-04-20 11:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=77E42FE8D777074488824B5D4056A2FE017CEE94@NJFPSRVEXG2KCL.research.att.com \
    --to=car@research.att.com \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).