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

which causes -dDEBUG to be passed to the compiler.

this is in my fpc.cfg:

#IFDEF DEBUG
  -gl
  -Crtoi
  #WRITE Compiling Debug Version
#ENDIF

henry
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to