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

readme: add cc -std=c11

This commit is contained in:
Alex Medvednikov 2019-06-23 10:21:16 +02:00 committed by GitHub
parent 20c83e2c32
commit b2851daffc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ mkdir -p ~/code && cd ~/code # ~/code directory has to be used (it's a temporar
git clone https://github.com/vlang/v
cd v/compiler
wget https://vlang.io/v.c # Download the V compiler's source translated to C
cc -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 . # Use the resulting V binary to build V from V source
./v -o v . # Bootstrap the compiler to make sure it works
```