Update README.md

pull/447/head
Alex Medvednikov 2019-06-23 13:27:43 +02:00 committed by GitHub
parent 527bcd961f
commit 56ceccfea5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -60,11 +60,16 @@ make
wget https://vlang.io/v.c # Download the V compiler's source translated to C
cc -std=c11 -w -o vc 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 . # Bootstrap the compiler to make sure it works
```
That's it! Now you have a V executable at `~/code/v/compiler/v`.
Bootstrap the compiler to make sure it works:
```
./v -o v .
```
You can create a symlink so that it's globally available:
```