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 MAA19653; Sat, 7 Apr 2001 12: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 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 MAA19649 for ; Sat, 7 Apr 2001 12:24:44 +0200 (MET DST) Received: from caroubier.wanadoo.fr (smtp-rt-6.wanadoo.fr [193.252.19.160]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f37AOhv10235 for ; Sat, 7 Apr 2001 12:24:43 +0200 (MET DST) Received: from andira.wanadoo.fr (193.252.19.152) by caroubier.wanadoo.fr; 7 Apr 2001 12:24:43 +0200 Received: from wfr01946 (193.248.99.203) by andira.wanadoo.fr; 7 Apr 2001 12:24:42 +0200 Reply-To: From: "Lionel Fourquaux" To: Subject: RE: [Caml-list] minor suggestions for Win32 port Date: Sat, 7 Apr 2001 12:14:53 +0200 Message-ID: <000301c0bf4b$9a836a50$cb63f8c1@wfr01946> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > -----Message d'origine----- > De : owner-caml-list@pauillac.inria.fr > [mailto:owner-caml-list@pauillac.inria.fr]De la part de Chris Hecker > Envoyé : samedi 7 avril 2001 05:15 > À : caml-list@inria.fr > Objet : [Caml-list] minor suggestions for Win32 port > > > > Here are some minor suggestions and feature requests I've come up with > while working with the Win32 MSVC ocaml port (3.00 and 3.01). > > 1. If you're using the MSVC cl.exe compiler, it sends linker command > line parameters in a relatively broken way, so this affects the > -cclib switch. Basically, to pass parms to link.exe from cl.exe, > you say /link [and then all the parms], so you can't have any > compiler flags after linker flags. You also don't know if a > library you're building is going to be linked with other libraries > with -cclib parms, so you have to do this: -cclib "/link /debug > /whatever", but then you get duped parms to the linker and it > complains, etc. It's basically hard to get it exactly right. The > right thing to do here is have the msvc driver know this, and > store the cclib parms up, sort/uniq them, and then put them after > a /link itself. > What about calling link.exe directly? ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr