[fpc-devel]Recompile the RTL to trace bugs

Jonas Maebe jonas.maebe at elis.ugent.be
Mon May 3 11:22:05 CEST 2004


On 3 mei 2004, at 11:25, Giulio Bernardi wrote:

> So, how can I compile a "debug version" of rtl so that I can use it 
> when
> debugging the program?

Download the source of the rtl from
http://www.freepascal.org/develop.html#sources

Go in the rtl directory and type

make OPT=-g

Next, when compiling your program, add "-FuPath_to_newly_compiled_RTL" 
to the command line options of the compiler.


Jonas





More information about the fpc-devel mailing list