[fpc-devel] Quickly recompiling fpc

Ondrej Pokorny lazarus at kluug.net
Sun Dec 10 17:47:06 CET 2017


On 09.12.2017 16:57, Sven Barth via fpc-devel wrote:
> Am 09.12.2017 14:57 schrieb "Benito van der Zander" 
> <benito at benibela.de <mailto:benito at benibela.de>>:
>
>     Hi,
>
>     how do you recompile fpc after making a small change in the
>     compiler, like enabling the debugmsg define in x86/aoptx86.pas?
>
>     make buildbase says nothing was changed, and make clean; make
>     buildbase recompiles not just the compiler, but also the rtl,
>     which is a waste of time.
>
>
> Build it in the Lazarus IDE using the corresponding project for your 
> platform (this will result in a compiler/<platform>/pp(.exe) binary).
> Other than that "make cycle" inside the compiler directory *is* the 
> recommended way to rebuild the compiler even if it rebuilds both the 
> compiler and the RTL multiple times.

I only extend: don't forget you can use the "Run Parameters" dialog to 
debug the modified compiler with a sample PAS program.

Ondrej
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20171210/55c9124c/attachment.html>


More information about the fpc-devel mailing list