-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Support Windows build with Cygwin installation #5526
Comments
Cygwin does not seem to be the best option for Windows users building Rust. Going to close this issue because of the problems and hurdles I saw when trying to build within Cygwin. It is not a best option for us, after having more discussion with the MingGW folks and looking at other options, including the use of mingw-get. So back to MinGW, I go...and setting up the Mingw64 toolchain correctly there, since I initially had better luck on MinGW. |
Thanks for trying. For future reference: is there a description somewhere that shows how you came to this conclusion? |
It is doable. You just have to insert CYGWIN throughout the make file
|
Any changed after a year? I would like to keep my Cygwin environment. Perhaps there's a way to make mingw coexist with cygwin? |
You can try using the Cygwin-hosted MinGW cross-compilers (e.g. |
@tkelman cool, do you have an example, or a tutorial? |
For libuv or LLVM or anything that uses autotools, you generally only need to say |
I noticed just having cygwin installed and in my env path is enough for it to glom all rust build commands. To fix I had to remove gcc and ld from cygwin\bin folder. I'm not sure of another way around this, but this worked for me; luckily I don't use gcc from cygwin but have it installed since I like grep and ls on windows. |
Thad is currently working on documenting and fixing the Windows installation to also support Cygwin (rather than just Msys & MinGW). Ping him for more info or if you want to help.
Cygwin is now recognized on Win 7 & Vista (32 and 64 bit) with the latest commit, but still has build platform issues being addressed in the make files, etc.
The text was updated successfully, but these errors were encountered: