Henry Vermaak wrote:
> 2008/6/17 Vincent Snijders <[EMAIL PROTECTED]>:
>> I hardly use the makefiles directly during development, but only the Build 
>> Lazarus
>> tool in the IDE, so I cannot pass this DEBUG=1. What does it actually do? 
>> What are
>> the corresponding compiler flags?
>>
> 
> this is in the Makefile:
> 
> ifdef DEBUG
> override FPCOPT+=-gl
> override FPCOPTDEF+=DEBUG
> endif

Note that on Mac OS X 10.5, due to bugs in the Apple linker, it may be 
advisable to pass -gw2l 
instead of -gl (which is why I also pass OPT="-gw2l" during Make builds, apart 
from the DEBUG=1).

Regards,

Adriaan van Os
_______________________________________________
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to