[fpc-pascal] How to crosscompile i386-linux from X86_64-win64

Sven Barth pascaldragon at googlemail.com
Wed Mar 30 15:48:57 CEST 2016


Am 30.03.2016 10:39 schrieb "ulrich" <romrum at cbox.cz>:
>
> Dne 29.3.2016 v 12:19 Sven Barth napsal(a):
>>
>> Am 29.03.2016 10:30 schrieb "Jonas Maebe"
>> <jonas.maebe at elis.ugent.be
>> <mailto:jonas.maebe at elis.ugent.be>>:
>>
>>  >
>>  > On 29/03/16 09:58, ulrich wrote:
>>  >>
>>  >> what parameter(s) need to cross-compiling i386-Linux from
X86_64-win64 ?
>>  >
>>  >
>>  > It is not possible, because the needed 80 bits extended type is not
>> supported on Win64, and we don't have emulation for this type yet in the
>> compiler. You can follow http://bugs.freepascal.org/view.php?id=9262 if
>> you wish to be notified in case this ever gets implemented.
>>  >
>>
>> However on Windows there's no real penalty in using the i386-win32
>> release for this instead of the x86_64-win64 one.
>
>
> Thanks,
>
> c:\lazarus16\fpc\3.0.0\bin\i386-win32\make.exe CROSSCOMPILE=1
CPU_TARGET=i386 OS_TARGET=linux all
CROSSBINUTILS=c:\lazarus16\fpc\3.0.0\bin\i386-linux
BINUTILSPREFIX=i386-linux-
>
> I do not know what I'm doing wrong, but this is the result:
>
> c:/lazarus16/fpc/3.0.0/bin/i386-win32/make -C C:/lazarus16/fpc/3.0.0/rtl
'OPT=  ' all

Is this really a full source of FPC and not just the one provided with
Lazarus? Better download a source zip of FPC 3.0.0, extract that in a
different directory and try there again to avoid any potential problems in
that regard (as a test you can first do a simple "make all" to ensure that
building a normal win32 system works).

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160330/ed7018d7/attachment.html>


More information about the fpc-pascal mailing list