diff options
author | treeform <starplant@gmail.com> | 2019-10-08 02:00:37 -0700 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-10-08 11:00:37 +0200 |
commit | dbcffcfccb39a35f2f8e2447a22776e5e761ce72 (patch) | |
tree | 84cf65e61f82da089ad44e8e9a95b83e4efcd419 /readme.md | |
parent | 89c37fada7a569a3e3d149bbc34394fb1fb34cb1 (diff) | |
download | Nim-dbcffcfccb39a35f2f8e2447a22776e5e761ce72.tar.gz |
Easier build instructions for windows - just run `build_all.bat`. (#12276)
* Easier build instructions for windows. * title letter * Update build_all.bat to be like build_all.sh
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/readme.md b/readme.md index f6122c1e8..f78da5b14 100644 --- a/readme.md +++ b/readme.md @@ -60,28 +60,19 @@ the installation instructions on the website to do so: https://nim-lang.org/inst For package maintainers: see [packaging guidelines](https://nim-lang.github.io/Nim/packaging.html). + +First get Nim from github: + ``` -# step 1: git clone https://github.com/nim-lang/Nim.git cd Nim +``` -# step 2 (posix) clones `csources.git`, bootstraps Nim compiler and compiles tools -sh build_all.sh - -# step 2 (windows) -git clone --depth 1 https://github.com/nim-lang/csources.git +Next run the appropriate build shell script for your platform: -cd csources -# requires `gcc` in your PATH, see also https://nim-lang.org/install_windows.html -build.bat # x86 Windows -build64.bat # x86_64 Windows -cd .. +* `build_all.sh` (Linux, Mac) +* `build_all.bat` (Windows) -bin\nim c koch -koch boot -d:release -koch tools # Compile Nimble and other tools -# end of step 2 (windows) -``` Finally, once you have finished the build steps (on Windows, Mac or Linux) you should add the ``bin`` directory to your PATH. |