[fpc-devel]RTL debugging

md md at realmwireless.com
Tue Oct 31 17:09:22 CET 2000


Thanks jonas but I have succeeded at making the RTL completely
debuggable
already.

Mark Diener
md at realmwireless.com


Jonas Maebe wrote:
> 
> >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.
> 
> To the compiler, the RTL units look no different than any other units.
> This means that if yyou use -B (build) command line switch, the compiler
> will recompile all units it can find the full sources for, including the
> RTL units. To solve this, you simply have to copy the compiled RTL units
> to another dir (e.g. c:\pp\units\go32v2) and put this unit dir in your
> -Fu path before the c:\pp\rtl\go32v2 one (or simply remove the latter).
> 
> This is what the "make install" command normally does afaik. You should
> be able to build a normal debugging rtl using the supplied makefiles by
> issueing the command
> 
> make DEBUG=1
> 
> Alternatively, you can use
> 
> make OPT="-g"
> 
> (all parameteres in OPT are directly passed to the compiler)
> 
> Jonas
> 
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel




More information about the fpc-devel mailing list