From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA02617; Tue, 15 Oct 2002 17:33:57 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA03105 for ; Tue, 15 Oct 2002 17:33:56 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g9FFXt516365; Tue, 15 Oct 2002 17:33:55 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA03165; Tue, 15 Oct 2002 17:33:54 +0200 (MET DST) Date: Tue, 15 Oct 2002 17:33:54 +0200 From: Xavier Leroy To: Alessandro Baretta Cc: Ocaml Subject: Re: [Caml-list] Question on -g Message-ID: <20021015173354.A30159@pauillac.inria.fr> References: <3DABAD7B.9010006@baretta.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <3DABAD7B.9010006@baretta.com>; from alex@baretta.com on Tue, Oct 15, 2002 at 07:54:03AM +0200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > 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