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 BAA03592; Mon, 2 Jul 2001 01:19:39 +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 BAA03583 for ; Mon, 2 Jul 2001 01:19:37 +0200 (MET DST) Received: from favie.faith.gr.jp (favie.faith.gr.jp [61.127.175.250]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f61NJZ118402 for ; Mon, 2 Jul 2001 01:19:35 +0200 (MET DST) Received: from localhost (dhcp7.faith.gr.jp [192.168.1.17]) by favie.faith.gr.jp (8.9.3/8.9.3) with ESMTP id IAA08271; Mon, 2 Jul 2001 08:19:26 +0900 To: itz@speakeasy.org Cc: caml-list@inria.fr Subject: Re: [Caml-list] custom linking not working In-Reply-To: <86bsn4l5wz.fsf@itz.dsl.speakeasy.net> References: <86bsn4l5wz.fsf@itz.dsl.speakeasy.net> X-Mailer: Mew version 1.94.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010702081929J.garrigue@kurims.kyoto-u.ac.jp> Date: Mon, 02 Jul 2001 08:19:29 +0900 From: Jacques Garrigue X-Dispatcher: imput version 20000228(IM140) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk From: Ian Zimmerman > What am I doing wrong here??? > > itz:~# ocamlc -linkall -custom toplevellib.cma /usr/lib/ocaml/libgraphics.a \ > topmain.cmo -o ocaml.graphics You shouldn't use libgraphics.a, but graphics.cma. The right invocation is much simpler: ocamlmktop graphics.cma -o ocaml.graphics Jacques Garrigue ------------------- 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