Version française
Home     About     Download     Resources     Contact us    
Browse thread
ocamlfind and linking with -g for stack backtrace
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ 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/