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

Update README.md

This commit is contained in:
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

View File

@ -60,11 +60,16 @@ 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=c11 -w -o vc v.c # Build it with Clang or GCC 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 ./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`. 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: You can create a symlink so that it's globally available:
``` ```