[fpc-pascal] debugging version of RTL
XHajT03 at mbox.vol.cz
Mon Nov 10 12:57:24 CET 2008
On Mon, November 10, 2008 00:53, Marc Santhoff wrote:
> Am Sonntag, den 09.11.2008, 23:46 +0000 schrieb Henry Vermaak:
>> 2008/11/9 Marc Santhoff <M.Santhoff at t-online.de>:
>> > Hi,
>> > how can I build the RTL and other packages containing debug symbols?
>> > Is it sufficient to do sth. like:
>> > cd rtl
>> > <edit Makefile.fpc setting -gl as compiler option>
>> > make clean allinstall
>> you can pass OPT="-gl -O-" to make instead of editing the
>> Makefile.fpc. Use CROSSOPT if you're cross compiling.
> Beautiful, many thanks.
There's also the possibility to use "make debug" directly, or add
"DEBUG=1" to the end, that should add the required options automatically.
More information about the fpc-pascal