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

readme: add -lm

This commit is contained in:
Alexander Medvednikov 2019-07-18 03:03:33 +02:00 committed by GitHub
parent 810e85541c
commit 6f99876b6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,8 +69,8 @@ On Windows follow these instructions: [github.com/vlang/v/wiki/Installing-a-C-co
```bash
# Download the V compiler's source translated to C
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
./v -o v compiler # Use the resulting V binary to build V from V source
cc -std=gnu11 -w -o v v.c -lm # Build it with Clang or GCC
./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).