-
Notifications
You must be signed in to change notification settings - Fork 298
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
Building on MinGW32 fails #369
Comments
This is not so much a bug as a missing dependency. I was experiencing the same problem but a little searching around the web pointed me towards installing this: http://win-builds.org/doku.php/download_and_installation_from_windows Also ensure the 'bin' directory residing within the installation path is present in your PATH - as usual - and away you go. You'll find 'cc.exe' within the bin directory. |
I'm suffering from this error too.Thanks for the tip:"Setting envvar CC=gcc fixes it."@alvaro-cuesta. |
I think gcc should be use as default also. |
How do I set the envvar CC=gcc under Windows 7/8.1/10??? |
Yep, just hit this problem myself on Windows 10. I'll set the env var for now, is there a proper fix coming for this? |
@alvaro-cuesta What does it means? How can I do it too? |
I ran across this problem in appveyor, where CC doesn't seem to be available with environment:
matrix:
- TARGET: nightly-x86_64-pc-windows-msvc
- TARGET: nightly-x86_64-pc-windows-gnu
MSYS_BITS: 64
[...]
install:
[...]
- if defined MSYS_BITS set PATH=C:\msys64\mingw%MSYS_BITS%\bin;C:\msys64\usr\bin;%PATH% In thise file, every mingw build has |
I'm using openssl. And internally it uses this it seems |
No, OpenSSL does not use |
According to the link in the error message
gcc-rs
should be usinggcc
under my system. This hardcoded"cc"
inbuild.rs
seems to be the problem.Setting envvar
CC=gcc
fixes it, but AFAICT it probably should use the defaultgcc-rs
strategy for that else branch.The text was updated successfully, but these errors were encountered: