[Gambas-user] Questions about compiler options

Benoît Minisini gambas at ...1...
Tue Dec 9 18:40:03 CET 2014


Le 09/12/2014 17:30, Jussi Lahtinen a écrit :
> What "define the 'Exec' preprocessor constant" means? Is there some
> undocumented Exec constant?

Yes. This is used by the IDE when compiling the entire project to make 
an executable. Don't use it in your programs.

>
> Also there seems to be "add debugging information" option, but it seems
> debugging information is added by default. Is there command line option to
> remove the debugging information?

No, because by default there is no debugging information. When you 
compile from the IDE, the '-g' option is automatically added, unless 
when making an executable where you have an option to not generate them. 
But then you lose detailed backtraces when an error occurs.

Regards,

-- 
Benoît Minisini




More information about the User mailing list