Joymaker
Joymaker

Reputation: 1428

Do I really have a 64-bit or a 32-bit gcc?

I installed MSYS2 on my 64-bit ARM Windows. It of course installs some MINGW stuff, I don't believe I installed any separately.

Now, I go to select a "kit" for the VSCode CMake Tools extension, and the following curious listings pop up:

enter image description here

They are showing a 64 and 32 designation. Now I might easily have ignored this, but whenever I try to debug my build using the CodeLLDB extension, I get this very curious message:

This platform (win32-arm64) is not suported.

I don't know what to make of it. Do those kit designations indicate that it is building 32-bit executables on a 64-bit operating system? (I can see the problem there.) Or do they mean something else? Either CodeLLDB has a bug, or my compiler tools installation has a problem, and I need to understand which.

It is certainly a Windows 64 installation. Here's the system report: enter image description here

Upvotes: 0

Views: 29

Answers (1)

Lewis
Lewis

Reputation: 824

The GCC architecture is x86_64 so it generate 64-bit executables.
Unlike Windows with x86_64 processors, who can run most old 32-bit programs, the 64-bit ARM Windows probably can't run 32-bit programs. That's why this message appears.

Upvotes: 0

Related Questions