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 BAA03920; Mon, 2 Jul 2001 01:24:45 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id BAA03909 for ; Mon, 2 Jul 2001 01:24:45 +0200 (MET DST) Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by concorde.inria.fr (8.11.1/8.10.0) with SMTP id f61NOhP11968 for ; Mon, 2 Jul 2001 01:24:44 +0200 (MET DST) Received: (qmail 63311 invoked from network); 1 Jul 2001 23:24:42 -0000 Received: from unknown (HELO itz.dsl.speakeasy.net) ([216.254.11.87]) (envelope-sender ) by mail5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 1 Jul 2001 23:24:42 -0000 Received: from itz by itz.dsl.speakeasy.net with local (Exim 3.22 #1 (Debian)) id 15Gqa1-0005Lt-00; Sun, 01 Jul 2001 16:24:41 -0700 To: Jacques Garrigue Cc: caml-list@inria.fr Subject: Re: [Caml-list] custom linking not working References: <86bsn4l5wz.fsf@itz.dsl.speakeasy.net> <20010702081929J.garrigue@kurims.kyoto-u.ac.jp> From: Ian Zimmerman Date: 01 Jul 2001 16:24:41 -0700 In-Reply-To: Jacques Garrigue's message of "Mon, 02 Jul 2001 08:19:29 +0900" Message-ID: <86ofr4b5c6.fsf@itz.dsl.speakeasy.net> User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk itz> What am I doing wrong here??? itz> itz> itz:~# ocamlc -linkall -custom toplevellib.cma itz> /usr/lib/ocaml/libgraphics.a \ topmain.cmo -o ocaml.graphics Jacques> You shouldn't use libgraphics.a, but graphics.cma. The right Jacques> invocation is much simpler: Jacques> ocamlmktop graphics.cma -o ocaml.graphics Well, I know that would work, of course :-) But what I was trying to do was precisely to avoid linking the bytecode at build time. Is that impossible? -- Ian Zimmerman, Oakland, California, U.S.A. EngSoc adopts market economy: cheap is wasteful, efficient is expensive. ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr