[Lazarus] Using Laz 32bits to compile 64bits
Marcos Douglas
md at delfire.net
Sat Aug 20 20:05:59 CEST 2011
On Sat, Aug 20, 2011 at 5:51 AM, Sven Barth <pascaldragon at googlemail.com> wrote:
> Am 20.08.2011 05:01, schrieb Hans-Peter Diettrich:
>>
>> Marcos Douglas schrieb:
>>
>>> Question:
>>> I can compile a new fpc.exe to 64bit using a ppc386.exe 32bit version,
>>> on a machine 64bit?
>>
>> Yes and no ;-)
>>
>> Yes, you can create an ppcrossx64.exe, along with the 64 bit libraries,
>> using ppc386.exe.
>>
>> No, fpc.exe doesn't compile anything itself, it only calls the compiler
>> for the selected target.
>
> The point is that a fpc.exe compiled for 32bit will select the 32bit
> compiler (ppcx86) as default while the one compiled for 64bit will select
> the 64bit compiler as default (ppcx64). So it does matter what platform you
> compile fpc.exe for.
So, to compile the first version of FPC 64 I have to download a
ppcx64.exe and run make. Is that?
Marcos Douglas
More information about the Lazarus
mailing list