faster way to bootstrap-build Nim
This commit is contained in:
parent
ed0e5d94aa
commit
cfafa7c2b0
1 changed files with 3 additions and 7 deletions
10
readme.md
10
readme.md
|
|
@ -29,17 +29,13 @@ To build from source you will need:
|
||||||
|
|
||||||
If you are on a fairly modern *nix system, the following steps should work:
|
If you are on a fairly modern *nix system, the following steps should work:
|
||||||
|
|
||||||
```
|
```bash
|
||||||
$ git clone git://github.com/Araq/Nim.git
|
$ git clone git://github.com/Araq/Nim.git
|
||||||
$ cd Nim
|
$ cd Nim
|
||||||
$ git clone --depth 1 git://github.com/nim-lang/csources
|
$ ./build.sh
|
||||||
$ cd csources && sh build.sh
|
|
||||||
$ cd ..
|
|
||||||
$ bin/nim c koch
|
|
||||||
$ ./koch boot -d:release
|
|
||||||
```
|
```
|
||||||
|
|
||||||
``koch install [dir]`` may then be used to install Nim, or you can simply
|
``./koch install [dir]`` may then be used to install Nim, or you can simply
|
||||||
add it to your PATH. More ``koch`` related options are documented in
|
add it to your PATH. More ``koch`` related options are documented in
|
||||||
[doc/koch.txt](doc/koch.txt).
|
[doc/koch.txt](doc/koch.txt).
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue