caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Xavier Leroy <xavier.leroy@inria.fr>
To: Alessandro Baretta <alex@baretta.com>
Cc: Ocaml <caml-list@inria.fr>
Subject: Re: [Caml-list] Question on -g
Date: Tue, 15 Oct 2002 17:33:54 +0200	[thread overview]
Message-ID: <20021015173354.A30159@pauillac.inria.fr> (raw)
In-Reply-To: <3DABAD7B.9010006@baretta.com>; from alex@baretta.com on Tue, Oct 15, 2002 at 07:54:03AM +0200

> Does -g toggle a debug flag, so that an even number of -g's 
> is equivalent to not specifying any, or are are multiple 
> occurrences of -g beyond the first one just ignored?

The latter.  -g just sets a reference to "true".

> Does [ocamlc.opt] handle the -g flag?

Yes, just like ocamlc.  Both ocamlc and ocamlc.opt share exactly the
same Caml sources.

> I ask because I am unable to 
> debug my software, and I am using ocamlc.opt as my compiler.

Does switching to ocamlc make any difference?

- Xavier Leroy
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


      reply	other threads:[~2002-10-15 15:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-15  5:54 Alessandro Baretta
2002-10-15 15:33 ` Xavier Leroy [this message]

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=20021015173354.A30159@pauillac.inria.fr \
    --to=xavier.leroy@inria.fr \
    --cc=alex@baretta.com \
    --cc=caml-list@inria.fr \
    /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).