Skip to content

Conversation

@paleolimbot
Copy link
Member

Closes #2767

It seems like the RTools shell identifies itself as MSYS_NT... whereas the git shell identifies itself as MINGW64_NT.... It looks like r-universe configures using the git shell? We can support both!

@lidavidm
Copy link
Member

lidavidm commented May 3, 2025

Ah, sorry, I cut the release before I saw these PRs...

@lidavidm lidavidm merged commit f9c28b1 into apache:main May 3, 2025
26 checks passed
@lidavidm lidavidm added this to the ADBC Libraries 19 milestone May 3, 2025
@jeroen
Copy link
Contributor

jeroen commented May 3, 2025

It seems like the RTools shell identifies itself as MSYS_NT...

For reference, this depends on how you start msys2. Any msys2 installation can be started in different modes, which have separate shells and icons, and different compilers and uname.

The MSYS mode is intended to build executables for use by msys2 itself; the resulting binaries depend on the msys2 runtime and will not work other windows systems. To compile software with mingw64 that can run on any windows system without msys2 (as R does) you need start msys2 in MINGW64 mode.

img

@paleolimbot
Copy link
Member Author

Ah, sorry, I cut the release before I saw these PRs...

No worries! The timing was unrelated 🙂

For reference, this depends on how you start msys2

Thanks for the background!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

R: bug in configure test detecting OS

3 participants