readme: add `cc -std=c11`

pull/402/head
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
1 changed files with 1 additions and 1 deletions

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
```