readme: add bootstrap

pull/402/head
Zaoqi 2019-06-23 15:54:02 +08:00 committed by Alex Medvednikov
parent 20b5c4b88b
commit 3a3b136c20
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ cd v/compiler
wget https://vlang.io/v.c # Download the V compiler's source translated to C wget https://vlang.io/v.c # Download the V compiler's source translated to C
cc -w -o vc v.c # Build it with Clang or GCC cc -w -o vc v.c # Build it with Clang or GCC
./vc -o v . # Use the resulting V binary to build V from V source ./vc -o v . # Use the resulting V binary to build V from V source
./v -o v . # Bootstrap
``` ```
That's it! Now you have a V executable at `~/code/v/compiler/v`. That's it! Now you have a V executable at `~/code/v/compiler/v`.