[Lazarus] Cross compiling LCL win32=>win64; update wiki?
Reinier Olislagers
reinierolislagers at gmail.com
Mon Feb 20 05:53:16 CET 2012
On 19-2-2012 11:13, Sven Barth wrote:
> Am 19.02.2012 07:23 schrieb "Reinier Olislagers"
> <reinierolislagers at gmail.com <mailto:reinierolislagers at gmail.com>>:
>> The wiki [1] says to check your compiler, e.g. with fpc -Twin64 -Px86_64
>> test.pas. This works.
>> Then: using the IDE:
>> Open Tools / Configure Build Lazarus / Advanced Build Options.
>> Set Target OS and Target CPU.
>> Set LCL and Package registration to Build (the middle radio button)
>> and all other to None (left radio buttons).
>> Click the Build button.
>
> Note: this doesn't describe the situation in trunk anymore.
Updated wiki:
http://wiki.lazarus.freepascal.org/Cross_compiling#Cross_compiling_the_LCL
Needs to be tested (bombed somewhere in my Lazarus trunk, so may need to
be refined)
>> 1) Does the above translate in a makefile like this:
>> make distclean LCL_PLATFORM=win64 CPU_TARGET=x86_64 OS_TARGET=win64
>> (this wouldn't interfere with my existing 32 bit LCL and IDE, would it?)
>>
>> make packager/registration lazutils lcl LCL_PLATFORM=win64
>> CPU_TARGET=x86_64 OS_TARGET=win64
>>
>
> AFAIK this should be LCL_PLATFORM=win32 as the code is shared with the
> win32 platform (and no, they won't interfere with eachother)
Added to wiki
More information about the Lazarus
mailing list