debugging version of RTL

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

debugging version of RTL

Marc Santhoff
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

?

TIA,
Marc


_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: debugging version of RTL

Henry Vermaak
2008/11/9 Marc Santhoff <[hidden email]>:
> 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.

henry
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: debugging version of RTL

Marc Santhoff
Am Sonntag, den 09.11.2008, 23:46 +0000 schrieb Henry Vermaak:

> 2008/11/9 Marc Santhoff <[hidden email]>:
> > 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.

Marc


_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: debugging version of RTL

Tomas Hajny
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 <[hidden email]>:
>> > 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.

Tomas


_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal