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 QAA00396; Wed, 20 Aug 2003 16:02:14 +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 QAA01507 for ; Wed, 20 Aug 2003 16:02:13 +0200 (MET DST) Received: from aomori.annexia.org (annexia.force9.co.uk [212.56.101.183]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h7KE2CT13071; Wed, 20 Aug 2003 16:02:12 +0200 (MET DST) Received: from rich by aomori.annexia.org with local (Exim 3.36 #1 (Debian)) id 19pTXQ-0004Gz-00; Wed, 20 Aug 2003 15:02:12 +0100 Date: Wed, 20 Aug 2003 15:02:12 +0100 To: Xavier Leroy Cc: caml-list@inria.fr Subject: Re: [Caml-list] Getting debugging symbols in ocamlopt-generated executable Message-ID: <20030820140211.GA16322@redhat.com> References: <20030820132527.GA15864@redhat.com> <20030820153748.A31267@pauillac.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030820153748.A31267@pauillac.inria.fr> User-Agent: Mutt/1.5.4i From: Richard Jones X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 debugging:01 ocamlopt:01 libs:01 ocamole-pre:01 ocamole:01 cmx:01 msys:01 freshmeat:01 ltd:98 cmxa:01 command:98 makefile:02 linking:02 -ccopt: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. Rich. -- Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj Merjis Ltd. http://www.merjis.com/ - all your business data are belong to you. "I wish more software used text based configuration files!" -- A Windows NT user, quoted on Slashdot. ------------------- 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