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

Documented faster way to bootstrap-build Nim #1951

Merged
merged 7 commits into from
Jan 17, 2015

Conversation

noway
Copy link
Contributor

@noway noway commented Jan 14, 2015

./build.sh script currently present in Nim repo, and will download bootstrap repo csources by yourself, there is no need to manually download it by hand.
This script also compile koch, and build normal Nim binary by executing ./koch boot command.

I think using this script is more preferable then doing all this stuff by hand. It's more convenient for beginners.

@dom96
Copy link
Contributor

dom96 commented Jan 14, 2015

What will people on Windows do? They can't execute build.sh.

@noway
Copy link
Contributor Author

noway commented Jan 14, 2015

Hm, you are right. Better to write build.bat and build64.bat to provide quick bootstrap function for Windows too.
As workaround for now, I added manual steps for Windows users.

@noway
Copy link
Contributor Author

noway commented Jan 14, 2015

Now there is script for bootstraping on windows. It's not very good, but it's something. 32/64 switch can be obviously done better.

By default this script uses gcc, which provided by mingw on windows. There is currently no way to change compiler because koch csources build.bat script don't provide such feature. Just hardcoded gcc.

@noway
Copy link
Contributor Author

noway commented Jan 15, 2015

Okay, done.

@refi64
Copy link
Contributor

refi64 commented Jan 15, 2015

@noway421 You've gotta love how batch scripts just love to make life easier! \sarcasm

Varriount added a commit that referenced this pull request Jan 17, 2015
Documented faster way to bootstrap-build Nim
@Varriount Varriount merged commit 9847f76 into nim-lang:devel Jan 17, 2015
@noway noway deleted the bootstrap-install-docs-fix branch January 27, 2015 22:51
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.

None yet

4 participants