Forum > Portuguese
Cross Compile win64/win32
(1/1)
claytonocn:
Olá pessoal!
Por favor, eu gostaria de ajuda para fazer instalação cross compile do Lazarus Win64 para Win32.
Sendo mais específico: Eu quero instalar o Lazarus 64bit em ambiente Windows 11 64 bits, mas instalar depoi so compilador FreePascal de 32 bits para que eu possa posteriormente fazer as configurações para compilar nas duas plataformas.
A configuração eu sei fazer. O que eu sempre esqueço é qual instalador do Lazarus e depois qual instalador do FreePascal eu devo instalar.
Sim, eu já procurei no google e no fórum aqui, mas as respostas que eu encontrei são de vários anos atrás e o padrão dos nomes dos instaladores mudou.
Alguém poderia me ajudar?
Grato desde já!
Thaddy:
If you want both win64 and win32 you have two options:
1. Cross-compile win64 from win32. (64 to 32 is not recommended). There is a pre-packaged cross compiler for that.
2. Install with fpcupdeluxe and install in two different directories.
Option 1 has the advantage that it can work with a single fpc.cfg and Lazarus configuration files so you can cross compile for 64 bit from within the 32bit Lazarus IDE.
Option 2 has the advantage that both installations have their own IDE and completely separate environments.
Martin_fr:
https://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2064%20bits/Lazarus%204.0/
1) lazarus-4.0-fpc-3.2.2-win64.exe
2) lazarus-4.0-fpc-3.2.2-cross-i386-win32-win64.exe (install in same folder)
claytonocn:
Thanks!
Thaddy:
@Martin_fr
Doesn't that suffer from the extended type?
In the 64 bit ide that would be a double and the 32 bit compiler uses 80 bit.
That was the problem in the first place.
Unless that is solved, I think some caution needs to be in place.
I know the cross compiler can be built, though.
Navigation
[0] Message Index