Update README.md
parent
c545bc62a7
commit
ea4ea7d647
|
@ -55,9 +55,11 @@ You'll need Clang or GCC. On macOS run `xcode-select --install` if you don't hav
|
||||||
git clone https://github.com/vlang/v
|
git clone https://github.com/vlang/v
|
||||||
cd v/compiler
|
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
|
```
|
||||||
|
# Download the V compiler's source translated to C
|
||||||
|
wget https://raw.githubusercontent.com/vlang/vc/master/v.c
|
||||||
cc -std=gnu11 -w -o v v.c # Build it with Clang or GCC
|
cc -std=gnu11 -w -o v v.c # Build it with Clang or GCC
|
||||||
./v -o v . # Use the resulting V binary to build V from V source
|
./v -o v . # Use the resulting V binary to build V from V source
|
||||||
./v -o v . # Bootstrap the compiler again to make sure it works
|
./v -o v . # Bootstrap the compiler again to make sure it works
|
||||||
|
|
Loading…
Reference in New Issue