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

readme: clarify installation instructions

This commit is contained in:
Alexander Medvednikov 2019-07-13 12:49:55 +02:00 committed by GitHub
parent 5d7bac2016
commit 90c8da2254
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,13 +49,12 @@ https://github.com/vlang/v/blob/master/CONTRIBUTING.md
```bash ```bash
# You can clone V anywhere
git clone https://github.com/vlang/v git clone https://github.com/vlang/v
cd v cd v
make make
``` ```
That's it! Now you have a V executable at `[path to V repo]/v`. That's it! Now you have a V executable at `[path to V repo]/v`. `[path to V repo]` can be anywhere.
### C compiler ### C compiler
@ -73,6 +72,7 @@ curl -O https://raw.githubusercontent.com/vlang/vc/master/v.c
cc -std=gnu11 -w -o v v.c # Build it with Clang or GCC cc -std=gnu11 -w -o v v.c # Build it with Clang or GCC
./v -o v compiler # Use the resulting V binary to build V from V source ./v -o v compiler # Use the resulting V binary to build V from V source
``` ```
(These instructions won't work on Windows, use `make.bat` instead).
### Symlinking and updates ### Symlinking and updates