Browse thread
[Caml-list] Getting debugging symbols in ocamlopt-generated executable
-
Richard Jones
-
Xavier Leroy
-
Richard Jones
- Nicolas Cannasse
-
Richard Jones
-
Xavier Leroy
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Nicolas Cannasse <warplayer@f...> |
| 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. 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