Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Question on -g
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Xavier Leroy <xavier.leroy@i...>
Subject: Re: [Caml-list] Question on -g
> 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