[fpc-devel] cross copiling x86_64 to i386 ?
pascaldragon at googlemail.com
Wed Aug 29 09:05:36 CEST 2012
Am 29.08.2012 01:23 schrieb "Hans-Peter Diettrich" <DrDiettrich1 at aol.com>:
> Martin schrieb:
>> C:/FPC/tag_build_2_6_0/fpcsrc/compiler/ppcx64.exe -Ur -Xs -O2 -n -Fui386
-Fusystems -FuC:/fpc/tag_build_2_6_0/fpcsrc/rtl/units/x86_64-win64 -Fii386
>> /units/x86_64-win64 -dRELEASE -di386 -dGDB -dBROWSERLOG -Fux86 pp.pas
>> fpcdefs.inc(160,2) Error: User defined: Cross-compiling from systems
without support for an 80 bit extended floating point type to i386 is not
yet supported at
>> this time
> I wonder why Extended should not be supported in 64 bit mode. The FPU
still exists, as it's required in 32 bit mode, and AFAIK it also is
accessible in 64 bit code. Of course the FPU doesn't work together with the
MMX/MMY registers, but for the few conversions required in a compiler this
should not be a big problem?
The FPU is used on every x86_64 platform except Win64, because Microsoft
says that we (as in developers) should not use the FPU on Win64, because it
is considered deprecated there. Technically it is definitely possible, but
"if in Rome, do as the Romans do"...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-devel