[Lazarus] Compiling only LCL to 64-bit, on Windows
Marcos Douglas
md at delfire.net
Wed Aug 24 14:00:55 CEST 2011
On Wed, Aug 24, 2011 at 3:59 AM, Felipe Monteiro de Carvalho
<felipemonteiro.carvalho at gmail.com> wrote:
> Set your project architecture to x86-64 and compile your project. If
> it uses the LCL, then the LCL will automatically be recompiled.
Well, this is not so easy.
My Lazarus was compiled to 32-bit. The packages, 32-bit. The PATHs, 32-bit.
I tought make all LCL 64-bit and write a BAT script to compile the
program. To change all paths in Lazaurs is very boring and I might
forget something.
I did not want to use cross-compilation to does not add complexity,
but I don't know...
I only want to have:
1. FPC and Lazarus works in 32-bit default;
2. Possibility to compile to 64-bit using an OS 64-bit, with script or
something more simple;
3. Only one source to update;
4. A script to compile FPC to 32-bit and 64-bit (that I did and works);
5. A script to compile LCL to 64-bit after I that updated the sources.
Marcos Douglas
More information about the Lazarus
mailing list