mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
readme: make
makes things so much easier
This commit is contained in:
parent
99c781bf07
commit
b3ec7f7426
@ -54,6 +54,9 @@ The rest of the directories are vlib modules: `builtin/` (strings, arrays, maps)
|
|||||||
mkdir -p ~/code && cd ~/code # ~/code directory has to be used (it's a temporary limitation)
|
mkdir -p ~/code && cd ~/code # ~/code directory has to be used (it's a temporary limitation)
|
||||||
git clone https://github.com/vlang/v
|
git clone https://github.com/vlang/v
|
||||||
cd v/compiler
|
cd v/compiler
|
||||||
|
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=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
|
||||||
|
Loading…
Reference in New Issue
Block a user