Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Getting debugging symbols in ocamlopt-generated executable
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Getting debugging symbols in ocamlopt-generated executable
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