[Lazarus] Custom OS/CPU targets for FPC - build help

Sven Barth pascaldragon at googlemail.com
Tue Jan 3 14:03:44 CET 2012


Am 03.01.2012 13:45, schrieb David Unric:
> I can produce x86_64/win64 binaries manually with 'ppcrossx64'  but the
> main fpc.exe still lacks win64 target, so I'm not able switch in Lazarus
> between win32 and win64 targets.

The fpc.exe simply calls the default ppcXXX.exe for which it was 
compiled if no "-PXXX" was given and displays the help options of that. 
So if your default compiler is ppc386 then "fpc -h" will display all 
i386 targets. If you now do a "fpc -Px86_64 -h" it should display all 
targets for x86_64.

Regards,
Sven




More information about the Lazarus mailing list