[fpc-pascal] Cross-Compiling win32 -> Linux 64, how to get the cross compiler ?

Julien Devillers jdevillers at opti-time.com
Wed Nov 3 17:26:46 CET 2010

-----Message d'origine-----
De : fpc-pascal-bounces at lists.freepascal.org [mailto:fpc-pascal-bounces at lists.freepascal.org] De la part de Jonas Maebe
Envoyé : mercredi 3 novembre 2010 14:01
À : FPC-Pascal users discussions
Objet : Re: [fpc-pascal] Cross-Compiling win32 -> Linux 64,how to get the cross compiler ?

On 03 Nov 2010, at 13:55, Julien Devillers wrote:

> I tried to build everything from scratch with fpc source code, but I  
> did
> not find the correct make target.
> How should I do ?

make OS_TARGET=linux CPU_TARGET=x86_64 clean all



Hello Jonas

Thanks for your answer.
If I do that, I have a error on :
x86_64-linux-as --64 -o D:/tmp/partage/fpc-2.4.0.source/fpc-2.4.0/rtl/units/x86_64-linux/prt0.o x86_64/prt0.as

The file x86_64-linux-as does not exists on my system.


__________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 5588 (20101103) __________

Le message a été vérifié par ESET NOD32 Antivirus.


More information about the fpc-pascal mailing list