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

There should be a prefixed windres.exe like all the other binaries #2595

Open
robclouth opened this issue Aug 3, 2021 · 5 comments
Open

Comments

@robclouth
Copy link

Describe the issue

This is causing issues all over the web. People shouldn't have to copy and rename a file manually to get set up, and it's wasting lots of human hours as people come across the same issue over and over again.

godotengine/godot#40286
#937
dkfans/ADiKtEd#36

Why isn't it renamed automatically?

@timnbraun
Copy link

e.g. I've got a little project that builds on ubuntu with cross-tools, or in msys2 with the same Makefile. Except windres - that's borked on msys2.

@Biswa96
Copy link
Member

Biswa96 commented Jan 29, 2022

If you are targeting native Windows program use mingw* or clang* environments.

@mati865
Copy link
Collaborator

mati865 commented Jan 29, 2022

@Biswa96 this is about expecting x86_64-w64-mingw32-windres next to windres.
GCC packages provides normal binaries and ones prefixed with triple but Bunutils package has only normal binaries without prefix.

@akien-mga
Copy link

akien-mga commented Feb 23, 2022

Any chance to see this fixed? #937 was closed but as seen there, many people are having issues with this.

In the Godot project we regularly have users run into this issue with MSYS2, as seen in godotengine/godot#40286. Those are often hard to diagnose with cryptic error messages.

Adding a prefixed windres.exe like Linux distributions of MinGW+GCC do would help a lot with consistency between MinGW distributions:

$ ls /usr/bin/*windres
/usr/bin/i686-w64-mingw32-windres*
/usr/bin/x86_64-w64-mingw32-windres*

@lazka
Copy link
Member

lazka commented Jun 17, 2022

we don't ship a cross compiler unlike Linux, so this is kinda expected, no? native binutils on Linux also doesn't prefix its executables.

Not trying to blame other tools here, since we are indeed "special" compare to most mingw providers, but shouldn't scons be taught to avoid trying to cross compile if it actually isn't?

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 a pull request may close this issue.

6 participants