[fpc-devel] cross copiling x86_64 to i386 ?

Hans-Peter Diettrich DrDiettrich1 at aol.com
Wed Aug 29 02:16:18 CEST 2012


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 -FE. -FUi386
> /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?

DoDi




More information about the fpc-devel mailing list