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 QAA32355; Wed, 20 Aug 2003 16:26:13 +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 QAA31749 for ; Wed, 20 Aug 2003 16:26:12 +0200 (MET DST) Received: from mwinf0304.wanadoo.fr (smtp6.wanadoo.fr [193.252.22.28]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h7KEQBT14821; Wed, 20 Aug 2003 16:26:11 +0200 (MET DST) Received: from warp (ABordeaux-103-1-8-87.w193-253.abo.wanadoo.fr [193.253.253.87]) by mwinf0304.wanadoo.fr (SMTP Server) with SMTP id 38E06A8040FF; Wed, 20 Aug 2003 16:26:06 +0200 (CEST) Message-ID: <001201c36727$18274c80$de00a8c0@warp> From: "Nicolas Cannasse" To: "Xavier Leroy" , "Richard Jones" Cc: References: <20030820132527.GA15864@redhat.com> <20030820153748.A31267@pauillac.inria.fr> <20030820140211.GA16322@redhat.com> Subject: Re: [Caml-list] Getting debugging symbols in ocamlopt-generated executable Date: Wed, 20 Aug 2003 16:26:43 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Loop: caml-list@inria.fr X-Spam: no; 0.00; cannasse:01 warplayer:01 caml-list:01 debugging:01 ocamlopt:01 libs:01 ocamole-pre:01 ocamole:01 cmx:01 msys:01 cygwin:01 cmxa:01 nicolas:01 command:98 makefile:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > Thanks! Worked. > > Just out of interest, when I add this same option to the (GNU) Makefile, > I see: > > ocamlopt -w s -I e:/d/cjs/libs/ocamole-pre.3b -ccopt "/Zi" ocamole.cmxa excel.cmxa exceldemo.cmx -o exceldemo.opt.exe > Command line warning D4024 : unrecognized source file type 'c:/msys/1.0/Zi', object file assumed > LINK : fatal error LNK1181: cannot open input file "c:/msys/1.0/Zi.obj" > Error during linking > > I have no idea where it gets c:/msys/1.0/Zi from. Could this be > GNU make trying to rewrite paths or something?? > > But it works when typed in from the command line, and that's the > main thing. Just a guess... Maybe GNU make (is it cygwin one ?) is replacing the / unix path character by a \ DOS before running the command. Nicolas Cannasse ------------------- 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