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

RFC: Document Cygwin-to-MinGW cross compilation #8902

Merged
merged 4 commits into from
Nov 6, 2014

Conversation

tkelman
Copy link
Contributor

@tkelman tkelman commented Nov 5, 2014

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

@StefanKarpinski
Copy link
Sponsor Member

👍

@tkelman tkelman changed the title RFC: check for and error early with cygwin or msys-target compilers RFC: Document Cygwin-to-MinGW cross compilation Nov 5, 2014
@tkelman
Copy link
Contributor Author

tkelman commented Nov 5, 2014

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.
@tkelman tkelman force-pushed the tk/check-for-cygwin-compilers branch from 3ca1552 to 616153c Compare November 5, 2014 02:46
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.
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing a / in PATH

Copy link
Contributor Author

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

Copy link
Sponsor Member

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok that works, done

@vtjnash
Copy link
Sponsor Member

vtjnash commented Nov 5, 2014

yay! lgtm

@tkelman
Copy link
Contributor Author

tkelman commented Nov 6, 2014

I think this should be good enough for now.

tkelman added a commit that referenced this pull request Nov 6, 2014
RFC: Document Cygwin-to-MinGW cross compilation
@tkelman tkelman merged commit 4604dcb into master Nov 6, 2014
@tkelman tkelman deleted the tk/check-for-cygwin-compilers branch November 6, 2014 21:47
@tkelman
Copy link
Contributor Author

tkelman commented Nov 18, 2014

@JuliaBackports, I think this should apply cleanly

@tkelman
Copy link
Contributor Author

tkelman commented Nov 18, 2014

backported in 990bcfb and ea4f2c9

technically we don't need cmake on release-0.3 but it's harmless to have it installed

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.

3 participants