Forum > Windows (32/64)
Installing 32bit cross compiler
440bx:
Hello,
I've accumulated a number of Lazarus installations. I am currently using the "fixes" branch of both, FPC and Lazarus.
I wanted to install the "fixes" version of the Win32 cross compiler. When I went to sourceforge, there is no version 3.1 (fixes) for the 32bit cross compiler.
My first question is: what version of the Win32 cross compiler should I install ?
My second question is: since I have multiple Lazarus/FPC installations on that machine, how do I ensure that the Win32 cross compiler installation applies _only_ to the "fixes" (v3.1) installation and does not in any way affect the other installations ?
Thank you for your help.
Just in case it may be helpful, attached is a screenshot of the "About" Lazarus/FPC installation I want to enable 32 bit compiling.
marcov:
There is a win32->win64 crosscompiler, not a win64->win32 crosscompiler.
Reasons for that, as so often lie in the fact that win64 doesn't allow x87. Work on softfloat to fix that is years under way, but to my best knowledge not operational.
440bx:
--- Quote from: marcov on March 03, 2024, 12:10:56 pm ---There is a win32->win64 crosscompiler, not a win64->win32 crosscompiler.
Reasons for that, as so often lie in the fact that win64 doesn't allow x87. Work on softfloat to fix that is years under way, but to my best knowledge not operational.
--- End quote ---
Now I realize I should have been asking for a different thing.
I have the 64bit version of Lazarus "fixes" (v3.1) installed which has an FPC compiler installed that produces 64bit executables. What I'd like is to have that 64bit Lazarus installation also be able to produce 32bit executables. Is there something (some version of the FPC compiler) I can install to enable the 64bit version of Lazarus to produce 32bit executables ?
DonAlfredo:
This should be possible if you use -dFPC_SOFT_FPUX80 when (re)building the compilers.
440bx:
--- Quote from: DonAlfredo on March 03, 2024, 12:45:40 pm ---This should be possible if you use -dFPC_SOFT_FPUX80 when (re)building the compilers.
--- End quote ---
My understanding of the details of Lazarus and FPC installations is rather deficient.
Currently, I believe my 64bit Lazarus installation does not have access to an FPC compiler that produces 32bit executables. I'm guessing that to enable that installation to produce 32bit executable I'd have to install a version of FPC that produces 32bit executables and somehow inform the 64bit installation of Lazarus to use that installation of FPC to produce 32bit executables.
Is my understanding correct and if so, how do I install another compiler (one that produces 32bit executables) for that Lazarus installation to use ?
Thank you for your help.
Navigation
[0] Message Index
[#] Next page