[Lazarus] Cross compiler

Antonio Fortuny a.fortuny at sitasoftware.lu
Thu Aug 1 10:30:30 CEST 2013


Le 01/08/2013 10:12, Sven Barth a écrit :
> Am 01.08.2013 10:05, schrieb Sven Barth:
>> Am 01.08.2013 09:56, schrieb Antonio Fortuny:
>>>
>>> Le 31/07/2013 18:02, Sven Barth a écrit :
>>>>
>>>> Compiling from Win64 to Win32 using a *cross compiler* is not 
>>>> supported. It's not only not supported, it's even disallowed in the 
>>>> makefiles...
>>> Hum. I have a *Win7 x64* with Lazarus 1.0.10 installed ready for 
>>> cross compilation for
>>> Win64
>>> Win32
>>> WinCE
>>> and  it works. What did I do ?
>>>
>>> Install process
>>>
>>> Install fpc-2.6.2.i386-win32.exe
>>>     - C:\fpc\2.6.2
>>>     - full install
>>>     - do not associate.pp, .inc etc
>>>
>> Which is a native i386 binary.
>>> Install fpc-2.6.2.arm-wince.exe
>>>     - C:\fpc\2.6.2
>>>     - fpc folder exists: OK
>>>     - full install
>>>     - do not associate.pp, .inc etc
>>>
>> Win32 -> WinCE cross compiler
>>> Install fpc-2.6.2.x86_64-win64.exe
>>>     - C:\fpc\2.6.2
>>>     - fpc folder exists: OK
>>>     - full install
>>>     - do not associate.pp, .inc etc
>> Win32 -> Win64 cross compiler
>>
>> So everything as explained by me :)
> And if you don't believe me, then look at the bottom of 
> $fpcsrc/compiler/fpcdefs.inc, please (e.g. here: 
> http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/compiler/fpcdefs.inc?view=markup 
> ). This include file is used by each unit of the compiler.
I confess that I do not read every .inc file your honor. Should I ? :-D

Antonio.
>
> Regards,
> Sven
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130801/c2ad2ef1/attachment-0003.html>


More information about the Lazarus mailing list