[Lazarus] Cross compiler

Sven Barth pascaldragon at googlemail.com
Thu Aug 1 10:12:11 CEST 2013


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.

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


More information about the Lazarus mailing list