1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

readme: add bootstrap

This commit is contained in:
Zaoqi 2019-06-23 15:54:02 +08:00 committed by Alex Medvednikov
parent 20b5c4b88b
commit 3a3b136c20

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`.