-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
RFC: Document Cygwin-to-MinGW cross compilation #8902
Conversation
👍 |
While I was at it, I finally went and documented Cygwin-to-MinGW cross-compilation here, which I've been meaning to do for a while. |
these are incapable of building libuv, but can build everything else
Replace old-and-busted MSYS1 instructions, no one should be using MSYS1 any more.
3ca1552
to
616153c
Compare
cd julia | ||
``` | ||
*Tips:* | ||
- If you get an `error: cannot fork() for fetch-pack: Resource temporarily unavailable` from git, add `alias git="PATH=/usr/bin git"` to `~/.bashrc` and restart Cygwin. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing a /
in PATH
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where? the issue is when you have a long PATH, git likes to fork into every entry in it for some reason, the workaround is temporarily setting PATH to only /usr/bin
for the purposes of calling git
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, sorry, i misread the command. perhaps it should have an explicit call to env
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok that works, done
yay! lgtm |
I think this should be good enough for now. |
RFC: Document Cygwin-to-MinGW cross compilation
@JuliaBackports, I think this should apply cleanly |
cygwin and msys-target compilers are incapable of building libuv, but can build everything else - saves user time and frustration to check for them up front and error early. ref #8488 and #6234