[fpc-devel] buildfaq

Hans-Peter Diettrich DrDiettrich1 at aol.com
Wed Aug 4 14:39:26 CEST 2010

Florian Klaempfl schrieb:

>> 4) How does FPC handle different targets? IMO every target is
>> implemented in a specific executable, so how does pp or fpc proceed when
>> it is invoked with an target specifier, that it cannot handle itself?
> fpc is only a wrapper, it tries to find the right compiler.

Thanks, this was the missing link ;-)

>> In
>> the worst case multiple (make and install) steps are required, until the
>> 2.5 sources can be compiled by a 2.4 version - including all the RTL
>> stuff. Can we get some more version compatibility?
> Just install lastest release lazarus and lastest release fpc: to debug
> the compiler etc. you can use a compiler compiled with 2.2.4.

2.2.4 cannot compile the 2.5 sources :-(

> To test
> full builds, just use the 2.4.0 compiler. With some shell or batch
> scripts adapted to your needs, this is quite easy.

Finally I could use 2.4 to build and install 2.5 x86_64-win64 :-)

But fpc now complains that it cannot run ppc386.exe - why?
It should be ppcx64, of course, so why does fpc choose the wrong compiler?


More information about the fpc-devel mailing list