Forum > General

I cannot build 64-bit IDE

<< < (3/3)

Zoran:

--- Quote from: tetrastes on July 16, 2022, 09:46:44 pm ---
--- Quote from: Zoran on July 16, 2022, 05:15:03 pm ---What I understand actually is that on Windows there is 32-bit compiler and 64-bit cross-compiler. And, as far as I get it, it is so, regardless of whether Lazarus IDE is built as 32-bit or 64-bit application.
Is that correct?

--- End quote ---
No. Official Lazarus distribution for Win64 has native 64-bit compiler (ppcx64.exe), and fpc.exe is 64-bit also. Lazarus add-on for cross-compiling from Win64 to Win32 in fact installs native Win32 32-bit compiler ppc386.exe, not real cross-compiler.


--- Quote from: Zoran on July 16, 2022, 05:15:03 pm ---So, my original question is only why I cannot build the IDE as 64-bit application from the IDE itself (as I said, I can from command line).

--- End quote ---
I think that this is bug in the IDE (see my first reply). The -P<cpu_type> is not passed to fpc, without it your 32-bit fpc.exe runs 32-bit ppc386.exe, and you get error that -Twin64 is illegal parameter. I have 64-bit fpc.exe, so without -Pi386 it runs 64-bit ppcx64.exe, and I get error that -Twin32 is illegal parameter.


--- Quote from: Zoran on July 16, 2022, 05:15:03 pm ---So, with details from my first post in this topic, is there anything I do wrong?

--- End quote ---
No.

--- End quote ---

Thank you, for thorough answer, very much.

Navigation

[0] Message Index

[*] Previous page

Go to full version