Update README.md
parent
d71904823e
commit
ded43f7532
|
@ -57,10 +57,10 @@ cd v/compiler
|
||||||
make
|
make
|
||||||
|
|
||||||
# Or build without make:
|
# Or build without make:
|
||||||
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 -std=gnu11 -w -o vc v.c # Build it with Clang or GCC
|
cc -std=gnu11 -w -o v v.c # Build it with Clang or GCC
|
||||||
./vc -o v . && rm vc # Use the resulting V binary to build V from V source, delete the old compiler
|
./v -o v . # Use the resulting V binary to build V from V source
|
||||||
./v -o v . # Bootstrap the compiler to make sure it works
|
./v -o v . # Bootstrap the compiler again to make sure it works
|
||||||
```
|
```
|
||||||
|
|
||||||
That's it! Now you have a V executable at `v/compiler/v`.
|
That's it! Now you have a V executable at `v/compiler/v`.
|
||||||
|
|
Loading…
Reference in New Issue