[fpc-devel] TARGET_OS and TARGET_CPU does nothing
Florian Klaempfl
florian at freepascal.org
Mon Nov 6 18:50:08 CET 2006
Marco van de Voort schrieb:
>> On Mon, 6 Nov 2006, Christian Ulrich wrote:
>>
>> You can't cycle a cross-compiler.
>>
>> Simply try
>> make CPU_TARGET=x86_64 OS_TARGET=win64
>> make CPU_TARGET=arm OS_TARGET=wince
>
> D:\repo\fpcex\compiler>make CPU_TARGET=x86_64 OS_TARGET=win64
> d:/pp11/bin/i386-win32/ppc386.exe -Twin64 -Px86_64 -XPx86_64-win64- -Xc -Xr
> -Fux
> 86_64 -Fusystems -Fu../rtl -Fix86_64 -FE. -FUx86_64/units/x86_64-win64
> '-Xi' -d
> x86_64 -dGDB -dBROWSERLOG -Fux86 pp.pas
> Error: Illegal parameter: -Twin64
> Max Memory used/heapsize: 14/768 Kb
The correct way to build a cross environment is
cd fpc/
make clean all CPU_TARGET=arm OS_TARGET=wince
>
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
More information about the fpc-devel
mailing list