caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Richard Jones <rich@annexia.org>
To: Joel Reymont <joelr1@gmail.com>
Cc: OCaml List <caml-list@inria.fr>
Subject: Re: [Caml-list] ocamlfind and linking with -g for stack backtrace
Date: Sat, 5 May 2007 16:04:18 +0100	[thread overview]
Message-ID: <20070505150418.GA10402@furbychan.cocan.org> (raw)
In-Reply-To: <44877EEA-45A5-4680-9800-2834A5FF8D42@gmail.com>

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


  reply	other threads:[~2007-05-05 15:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-05 15:54 Joel Reymont
2007-05-05 15:04 ` Richard Jones [this message]
2007-05-05 20:50   ` [Caml-list] " Joel Reymont

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070505150418.GA10402@furbychan.cocan.org \
    --to=rich@annexia.org \
    --cc=caml-list@inria.fr \
    --cc=joelr1@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).