Browse thread
ocamlfind and linking with -g for stack backtrace
- Joel Reymont
[
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: | Joel Reymont <joelr1@g...> |
| Subject: | ocamlfind and linking with -g for stack backtrace |
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/