Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2010-11

Cross-Compiling win32 -> Linux 64, how to get the cross compiler ?

6 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Julien Devillers

Hello

I'm working on a project which cross compile from win32 to linux64. Today it uses FPC-2.1.5.

I need to move to fpc 2.4.0.

I downloaded fpc-2.4.0.i386-win32.exe and after some attemps, I understood that I did not have everything

to cross compile (units dir and some exes). I tried with fpc-2.4.0.x86_64-win64.exe but this did not solve the

problem.

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

How should I do ?

regards

Julien

Reply by email

Julien Devillers
to Jonas Maebe

-----Message d'origine-----
De : 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 ?

Julien Devillers wrote 5 lines
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

Jonas

--------------------------------------------------------------------

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.

Julien

__________ 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.

http://www.eset.com

Reply by email

Julien Devillers
to Julien Devillers

-----Message d'origine-----
De : De la part de Julien Devillers
Envoyé : mercredi 3 novembre 2010 17:27
À : FPC-Pascal users discussions
Objet : RE: [fpc-pascal] Cross-Compiling win32 -> Linux 64,how to get the cross compiler ?

Earlier message 46 lines
-----Message d'origine----- De : 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 Jonas -------------------------------------------------------------------- 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. Julien --------------------------------------------------------------------------------- Ok, I Found them. thanks Julien __________ 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. http://www.eset.com

Reply by email

Julien Devillers
to Sven Barth

-----Message d'origine-----
De : De la part de Sven Barth
Envoyé : jeudi 4 novembre 2010 09:16
À :
Objet : Re: [fpc-pascal] Cross-Compiling win32 -> Linux 64, how to get thecross compiler ?

Julien Devillers wrote
Ok, I Found them. thanks Julien

Out of curiosity and maybe for others that have the same problem:

Where did you find them?

Regards,
Sven

-------------------------------------------------------------------------------------

win32crossbinutils2005.zip in ftp://ftp.freepascal.org/pub/fpc/contrib/cross/mingw/

Regards
Julien

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

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

http://www.eset.com

Reply by email