[Lazarus] FPC cross compiling

Sven Barth pascaldragon at googlemail.com
Mon Mar 26 15:51:13 CEST 2012


Am 26.03.2012 15:38, schrieb Antonio Fortuny:
> Le 26/03/2012 10:21, Sven Barth a écrit :
>> I would do a
>>
>> "make all CPU_TARGET=i386"
>>
>> at the top level of the fpc source directory (you need to have full
>> FPC sources for compilation). Then you can do a
>>
>> "make crossinstall CPU_TARGET=i386"
>>
>> When you've done this please report back whether your situation has
>> improved (also it's adivceable to ask such questions on fpc-pascal
>> instead of lazarus).
>>
>> Regards,
>> Sven
> Can't "make all CPU_TARGET=i386" at root fpc source folder: no Makefile.
> Only at rtl and packages level
> I guess that some veriables has to be set for destination units folder
> but I can cope with this for the time being.
>

This is why I said you need the full source code. The only supported way 
is a full compilation. Anything else might work by luck only.

Regards,
Sven




More information about the Lazarus mailing list