From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA19626; Tue, 8 Jul 2003 18:02:23 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA23894 for ; Tue, 8 Jul 2003 18:02:21 +0200 (MET DST) Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h68G2LT27913 for ; Tue, 8 Jul 2003 18:02:21 +0200 (MET DST) Received: from fistandantilus.takhisis.org (dhcp179.dmi.ens.fr [129.199.97.179]) by nef.ens.fr (8.12.9/1.01.28121999) with ESMTP id h68G2Lko074979 for ; Tue, 8 Jul 2003 18:02:21 +0200 (CEST) Received: by fistandantilus.takhisis.org (Postfix, from userid 3148) id 0C66C274086; Tue, 8 Jul 2003 18:02:21 +0200 (CEST) Date: Tue, 8 Jul 2003 18:02:21 +0200 From: Stefano Zacchiroli To: Inria Ocaml Mailing List Subject: Re: [Caml-list] [long] not-so-static binaries on Mac OS X Message-ID: <20030708160220.GA7346@fistandantilus.takhisis.org> Mail-Followup-To: Inria Ocaml Mailing List References: <20030708141106.GA6500@fistandantilus.takhisis.org> <20030708171059.A12830@pauillac.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030708171059.A12830@pauillac.inria.fr> User-Agent: Mutt/1.5.4i X-Loop: caml-list@inria.fr X-Spam: no; 0.00; bononia:01 caml-list:01 binaries:01 ocamlopt:01 -noautolink:01 -ldl:01 -output-obj:01 selectively:01 compiler:01 ocaml:01 0200,:01 config:02 linking:02 module:03 bologna:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, Jul 08, 2003 at 05:10:59PM +0200, Xavier Leroy wrote: > I'd suggest you investigate the following options: Thanks for pointing them out. > - ocamlopt -noautolink This is not enough in my case because not all "-l" switches are coming from .cma libraries. For example "-ldl" is coming directly from the Config of the ocaml compiler module. > - ocamlopt -output-obj This should work indeed, I'm still trying to find out all the needed "-l" switches :-( Is surely easier than before, but still messy. What about adding a "-noautlink-lib" or similar which avoid linking selectively some libraries? Thanks, Cheers. -- Stefano Zacchiroli -- Master in Computer Science @ Uni. Bologna, Italy zack@{cs.unibo.it,debian.org,bononia.it} - http://www.bononia.it/zack/ " I know you believe you understood what you think I said, but I am not sure you realize that what you heard is not what I meant! " -- G.Romney ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners