[Lazarus] Using Laz 32bits to compile 64bits
Vincent Snijders
vincent.snijders at gmail.com
Fri Aug 19 21:58:36 CEST 2011
2011/8/19 Marcos Douglas <md at delfire.net>:
> Hi,
> My env is WinXP (3 bits, of course), FPC 2.5.1 (/branches_2_6) and
> Lazarus 0.9.31.
> I have FPC and Lazarus working on my notebook and I have a HD external
> too (in any PC I can use the FPC/Lazarus, just using --pcp to start
> it).
>
> Now I have to compile a console program (this is the first) to use in
> a Win7 64bits dual core.
>
> My questions are:
> 1. I can use Lazarus 32bits in a machine 64bits but compile a program to 64bits?
Yes, that is possible. Even on a 32 bits machine you can compile a
program to 64 bits. It is called cross compiling.
> 2. The make, to compile FPC, knows about if the machine is 64bits or I
> have to type a parameter?
Set the target processor and the target OS in Lazarus.
For more details on compiling the fpc units for win64, see the buildfaq.
www.stack.nl/~marcov/buildfaq.pdf
Vincent
More information about the Lazarus
mailing list