[
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: | Richard Jones <rich@a...> |
| Subject: | Re: [Caml-list] ocamlfind and linking with -g for stack backtrace |
On Sat, May 05, 2007 at 04:54:37PM +0100, Joel Reymont wrote: > 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? Did you try -ccopt instead of -cclib? Rich. -- Richard Jones Red Hat