[fpc-devel] compile fpc for i386 from a 64 bit machine

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Nov 29 10:45:23 CET 2007


Alvise Nicoletti wrote on do, 29 nov 2007:

> Florian Klaempfl ha scritto:
>> Alvise Nicoletti schrieb:
>>
>>> fpcdefs.inc(111,2) Error: User defined: Cross-compiling from non-i386 to
>>> i386 is not yet supported at this time
>>> cutils.pas(148,1) Fatal: There were 4 errors compiling module, stopping
>>>
>>> This is my arch:
>>> Linux myserver 2.6.15-28-amd64-server #1 SMP Wed Jul 18 23:04:02 UTC
>>> 2007 x86_64 GNU/Linux
>>>
>>>> Well, as the error says, this is currently not supported.
>>
> Mhh... what is not supported?

Compiling i386 code with a non-i386 hosted compiler is not supported.  
It has nothing to do with 32 vs 64 bit (an x86_64 hosted compiler can  
perfectly create sparc32 or ppc32 code), but with the extended  
floating point type which we do not support on all non-i386 platformas  
(although I believe it actually is supported on linux/x86_64 unlike on  
win64/x86_64, so maybe the check could be refined).


Jonas

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the fpc-devel mailing list