caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* ocamlfind and linking with -g for stack backtrace
@ 2007-05-05 15:54 Joel Reymont
  2007-05-05 15:04 ` [Caml-list] " Richard Jones
  0 siblings, 1 reply; 3+ messages in thread
From: Joel Reymont @ 2007-05-05 15:54 UTC (permalink / raw)
  To: OCaml List

ocamlfind ocamlc -cclib -g -g -o netplex -package  
"netstring,netcgi2,unix,nethttpd-for-netcgi2,netplex" \
         -thread netplex.ml -linkpkg -g

./netplex -conf netplex.cfg

(Program not linked with -g, cannot print stack backtrace)

How do I cajole ocamlfind into passing -g to the linker?

	Thanks, Joel

--
http://wagerlabs.com/






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-05 20:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-05 15:54 ocamlfind and linking with -g for stack backtrace Joel Reymont
2007-05-05 15:04 ` [Caml-list] " Richard Jones
2007-05-05 20:50   ` Joel Reymont

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).