From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 18C93BB84 for ; Thu, 20 Apr 2006 13:39:38 +0200 (CEST) Received: from mail-red.research.att.com (mail-red.research.att.com [192.20.225.110]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k3KBdbLx009585 for ; Thu, 20 Apr 2006 13:39:37 +0200 Received: from NJFPSRVEXG2KCL.research.att.com (njfpsrvexg2k2.research.att.com [135.207.21.32]) by mail-green.research.att.com (Postfix) with ESMTP id 3009689C1 for ; Thu, 20 Apr 2006 07:39:37 -0400 (EDT) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [Caml-list] dynamic loading on intel macs X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Date: Thu, 20 Apr 2006 07:39:36 -0400 Message-ID: <77E42FE8D777074488824B5D4056A2FE017CEE94@NJFPSRVEXG2KCL.research.att.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Caml-list] dynamic loading on intel macs Thread-Index: AcZkMZSmWN1oBFpbTYWY/m0JDx7MUAAPXsaA From: To: X-Miltered: at concorde with ID 444772F9.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; libasmrun:01 rath:01 ocaml-:01 ocaml-:01 -wl:01 -rpath:01 -rpath:01 defs:01 beginner's:01 ocaml:01 beginners:01 bug:01 20,:98 2006:98 2006:98 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=DNS_FROM_RFC_WHOIS, NO_REAL_NAME autolearn=disabled version=3.0.3 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=3D"-Wl,-rpath," mksharedlibrpath=3D"-rpath " shared_libraries_supported=3Dtrue;; - powerpc-apple-darwin*) + *-apple-darwin*) mksharedlib=3D"cc -bundle -flat_namespace -undefined suppress = -o" bytecccompopts=3D"$dl_defs $bytecccompopts" #sharedcccompopts=3D"-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