[fpc-pascal] ppc386 or ppcx64

Sven Barth pascaldragon at googlemail.com
Thu Nov 4 11:15:03 CET 2010

Am 04.11.2010 10:43, schrieb Julien Devillers:
> -----Message d'origine-----
> De : fpc-pascal-bounces at lists.freepascal.org [mailto:fpc-pascal-bounces at lists.freepascal.org] De la part de Sven Barth
> Envoyé : jeudi 4 novembre 2010 10:06
> À : fpc-pascal at lists.freepascal.org
> 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).


More information about the fpc-pascal mailing list