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 TAA02121; Thu, 25 Jul 2002 19:43:54 +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 TAA02192 for ; Thu, 25 Jul 2002 19:43:53 +0200 (MET DST) Received: from cs.brown.edu (fullabull.cs.brown.edu [128.148.32.100]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g6PHhpT02794; Thu, 25 Jul 2002 19:43:52 +0200 (MET DST) Received: from miette (miette.cs.brown.edu [128.148.38.66]) by cs.brown.edu (8.12.0/8.12.0) with ESMTP id g6PHhpQi015774; Thu, 25 Jul 2002 13:43:51 -0400 (EDT) Received: from er by miette with local (Exim 3.35 #1 (Debian)) id 17XmeU-0001eH-00; Thu, 25 Jul 2002 13:43:50 -0400 Date: Thu, 25 Jul 2002 13:43:50 -0400 From: Emmanuel Renieris To: Francois Thomasset Cc: Wolfgang Lux , caml-list@inria.fr Subject: Re: [Caml-list] ocamlmktop: 3.04 differs from 3.00 Message-ID: <20020725174350.GA3565@cs.brown.edu> Reply-To: Emmanuel Renieris Mail-Followup-To: Francois Thomasset , Wolfgang Lux , caml-list@inria.fr References: <87B34818-9FE0-11D6-9157-0003937628DA@uni-muenster.de> <200207251512.g6PFCcb22771@ionie.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200207251512.g6PFCcb22771@ionie.inria.fr> User-Agent: Mutt/1.3.28i Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk -E is passed to the gnu linker, but not to the Sun linker. Maybe you installed gcc again on your system, without --with-gnu-ld? Or maybe you did not run "configure" again in building ocaml for the sun? A quick solution would be to say: ocamlmktop -cc gcc -custom -o mytop nums.cma which will pass no arguments to gcc, and therefore no argument to the linker (add -verbose to see the difference). Hope this helps, Manos On Thu, Jul 25, 2002 at 05:12:37PM +0200, Francois Thomasset wrote: > > Francois Thomasset wrote: > > > > > If I try to build my own toplevel, I get an error under 3.04: > > > ocamlmktop -custom -o mytop nums.cma > > > /usr/ccs/bin/ld: illegal option -- E > > > usage: ld [-abd:e:f:h:il:mo:rstu:z:B:D:F:GI:L:M:N:Q:R:S:VY:] file(s) > > > [-a] create an absolute file > > > ... > > > Error while building custom runtime system > > > > As ld has its platform specific variations it's hard to tell the > > error without knowing under which OS this happens. Guessing > > from the ld message it is neither Linux nor any BSD variant > > (including Mac OS X). > > > > Wolfgang > > > > -- > > Wolfgang Lux Phone: +49-251-83-38263 > > Institut fuer Wirtschaftinformatik FAX: +49-251-83-38259 > > Universitaet Muenster Email: wlux@uni-muenster.de > > > Sorry. I am on Solaris SunOS 5.6 > F > > > ------------------- > 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 ------------------- 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