[fpc-devel]RTL debugging
Lee, John
LeeJ at logica.com
Mon Oct 30 18:57:31 CET 2000
I've raised this 'feature' before & agree that it should be stoppable, but
developers said no! but good luck in trying again...John
-----Original Message-----
From: md [mailto:md at realmwireless.com]
Sent: Monday, October 30, 2000 02:53
To: fpc-devel at lists.freepascal.org
Subject: [fpc-devel]RTL debugging
I am looking to find a way to get the RTL re-compiled so that I can step
through it with gdb debugger
and look for problems (both in RTL and in applications compiled with
RTL) FAQ #31 actually refers to recompiling the RTL with -gl switch.
Currently, I use fpc-1.0.2-i386.rpm to install fpc compiler. Then I use
a stripped down Makefile to recompile the RTL source.
That Makefile is attached to this email.
The problem is that normal application builds are causing the RTL pieces
to recompile as well. Only executing the Makefile should cause the
RTL to compile, not a uses clause in a application unit.
Obviously, the application uses clauses does not allow the
appropriate compiler defines and switches to be in used while compiling
RTL units.
Some special switches include -Sg and -FE.
Any help appreciated.
md at realmwireless.com
More information about the fpc-devel
mailing list