Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CDT does not detect installations of the MSYS2 UCRT64 toolchain #568

Closed
jld01 opened this issue Sep 22, 2023 · 1 comment · Fixed by #569
Closed

CDT does not detect installations of the MSYS2 UCRT64 toolchain #568

jld01 opened this issue Sep 22, 2023 · 1 comment · Fixed by #569
Assignees
Labels
build Build components of CDT, anything to do with running the compiler, using Make, CMake, or any builder
Milestone

Comments

@jld01
Copy link
Contributor

jld01 commented Sep 22, 2023

The MSYS2 project suggests that new users install an MSYS2 UCRT64 environment if they are unsure of their requirements.

At present, CDT detects MSYS2 installations of the MINGW64 and MINGW32 toolchains but does not detect the UCRT64 toolchain variant.

We should enhance the toolchain detection logic to locate UCRT64 toolchains to ensure a good experience for new users. At present, CDT looks for MinGW toolchain installations in a certain order and uses the first installation it finds by default. To preserve behaviour of existing projects, we should therefore look for toolchains in the order: MINGW64, MINGW32, UCRT64

Users can override the default toolchain selection at system, workspace or build configuration level using the MINGW_HOME environment variable.

@jonahgraham
Copy link
Member

Thanks @jld01 for keeping CDT up to date with the ever changing landscape of gcc on Windows.

@jonahgraham jonahgraham added this to the 11.4.0 milestone Sep 25, 2023
@jonahgraham jonahgraham added the build Build components of CDT, anything to do with running the compiler, using Make, CMake, or any builder label Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build components of CDT, anything to do with running the compiler, using Make, CMake, or any builder
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants