Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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.


Richard Jones.
Merjis Ltd. - 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 Archives:
Bug reports: FAQ:
Beginner's list: