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:
parent
527bcd961f
commit
56ceccfea5
@ -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:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user