<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-cite-prefix">Le 31/07/2013 18:02, Sven Barth a
écrit :<br>
</div>
<blockquote cite="mid:51F9350D.9020109@googlemail.com" type="cite"><br>
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...
<br>
</blockquote>
Hum. I have a <b><big>Win7 x64</big></b> with Lazarus 1.0.10
installed ready for cross compilation for<br>
Win64<br>
Win32<br>
WinCE<br>
and it works. What did I do ?<br>
<br>
Install process<br>
<br>
Install fpc-2.6.2.i386-win32.exe<br>
- C:\fpc\2.6.2<br>
- full install<br>
- do not associate.pp, .inc etc<br>
<br>
Install fpc-2.6.2.arm-wince.exe<br>
- C:\fpc\2.6.2<br>
- fpc folder exists: OK<br>
- full install<br>
- do not associate.pp, .inc etc<br>
<br>
Install fpc-2.6.2.x86_64-win64.exe<br>
- C:\fpc\2.6.2<br>
- fpc folder exists: OK<br>
- full install<br>
- do not associate.pp, .inc etc<br>
<br>
Download fpc 2.6.2 sources (fpcbuild-2.6.2.zip), decompress and move
into<br>
C:\fpc\2.6.2\source<br>
<br>
Install Lazarus lazarus-1.0.10-fpc-2.6.2-win64.exe as usual<br>
- C:\Lazarus<br>
- full install<br>
<br>
LaunchLazarus<br>
- adapt fpc compiler and fpc sources paths on first launch
screen<br>
- config IDE to your needs<br>
- rename or delete C:\Lazarus\fpc as it bacame useless<br>
<br>
Recompile packages and projects as needed<br>
I've made a very little test program (main form, a close button) and
it works on the three platforms<br>
To be fully honest I've not yet tried to build complex projects. But
I'll do it and let you know wkat happens<br>
<br>
Antonio.<br>
<br>
<blockquote cite="mid:51F9350D.9020109@googlemail.com" type="cite">
<br>
Lazarus provides a native Win32 compiler as Win64 can run Win32
programs without problems.
<br>
<br>
Regards,
<br>
Sven
<br>
<br>
--
<br>
_______________________________________________
<br>
Lazarus mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
<br>
<br>
</blockquote>
<br>
</body>
</html>