[fpc-devel] bounty: FPC based debugger

Graeme Geldenhuys graemeg.lists at gmail.com
Tue Sep 13 14:43:02 CEST 2011


On 13/09/2011 00:37, Jonas Maebe wrote:
> 
>> Maybe this will help?
>> 
>> make.exe all   OPT="-gl -gw -godwarfsets -O1 "
> 
> You should use -O-1 instead of -O1. The default for "make all" is
> "-O2", and "-O2 -O1" is the same as "-O2" (it says "enable -O2
> optimizations and also -O1 optimizations", but -O2 already includes
> -O1).

Wow, thanks for that tip! It's a rather important piece of information.
Is it mentioned somewhere in the FPC docs?  I searched the Programmers
Guide but couldn't find any reference to -O- or -O-<n> syntax.



Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/




More information about the fpc-devel mailing list