Sign in Join

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

Mailing lists / fpc-pascal / 2010-11

ppc386 or ppcx64

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Julien Devillers

Hello

Please can you tell me if :

ppc386 in intend to be used on a i386 platform and ppcx64 on a 64bits platform regarless the type of app to build

or

both are intend to be used on any plateform. ppc386 to build apps for i386 systems and ppcx64 to build 64bits apps.

Thanks

Julien

Sven Barth
to Julien Devillers
Julien Devillers wrote 11 lines
Hello Please can you tell me if : ppc386 in intend to be used on a i386 platform and ppcx64 on a 64bits platform regarless the type of app to build or both are intend to be used on any plateform. ppc386 to build apps for i386 systems and ppcx64 to build 64bits apps.

The second assumption is mostly right. ppc386 is a 32-bit application to compile applications for i386. ppcx64 is a 64-bit application to compile applications for x86_64 (so you can't use ppcx64 on a i386 system, you'd need to use ppcrossx64 there).

Regards,
Sven

Julien Devillers
to Sven Barth

-----Message d'origine-----
De : De la part de Sven Barth
Envoyé : jeudi 4 novembre 2010 10:06
À :
Objet : Re: [fpc-pascal] ppc386 or ppcx64

Julien Devillers wrote 11 lines
Hello Please can you tell me if : ppc386 in intend to be used on a i386 platform and ppcx64 on a 64bits platform regarless the type of app to build or both are intend to be used on any plateform. ppc386 to build apps for i386 systems and ppcx64 to build 64bits apps.

The second assumption is mostly right. ppc386 is a 32-bit application to compile applications for i386. ppcx64 is a 64-bit application to compile applications for x86_64 (so you can't use ppcx64 on a i386 system, you'd need to use ppcrossx64 there).

Regards,
Sven
_______________________________________________

Hum, the project I'm working on, is built on a win32 machine for linux32 and linux64.
What's surprise me is : when I look at the compilation script, it calls ppc386 to build for linux32 and ppcx64 to build for linux 64...

I tried to launch ppcx64 alone on the win32 machine. That shows the help message but no error.

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

Sven Barth
to Julien Devillers
Julien Devillers wrote 37 lines
-----Message d'origine----- De : De la part de Sven Barth Envoyé : jeudi 4 novembre 2010 10:06 À : Objet : Re: [fpc-pascal] ppc386 or ppcx64 Am 04.11.2010 09:33, schrieb Julien Devillers: > Hello > > Please can you tell me if : > > ppc386 in intend to be used on a i386 platform and ppcx64 on a 64bits > platform regarless the type of app to build > > or > > both are intend to be used on any plateform. ppc386 to build apps for > i386 systems and ppcx64 to build 64bits apps. The second assumption is mostly right. ppc386 is a 32-bit application to compile applications for i386. ppcx64 is a 64-bit application to compile applications for x86_64 (so you can't use ppcx64 on a i386 system, you'd need to use ppcrossx64 there). Regards, Sven _______________________________________________ Hum, the project I'm working on, is built on a win32 machine for linux32 and linux64. What's surprise me is : when I look at the compilation script, it calls ppc386 to build for linux32 and ppcx64 to build for linux 64... I tried to launch ppcx64 alone on the win32 machine. That shows the help message but no error.

If you run FPC (or in this case ppc*) without an argument you'll always be displayed the help. You need to call it with a source file to make it compile something :)

Regarding the script: that looks correct as ppc386 is the i386 compiler and ppcx64 is the x86_64 compiler (a FPC can build for all systems that are supported on a given CPU).

Regards,
Sven