From 6f99876b6e5fb0c2a9cdba85bcd806fe3175e5f8 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Thu, 18 Jul 2019 03:03:33 +0200 Subject: [PATCH] readme: add -lm --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 63f5e91a21..cdcbe7d9eb 100644 --- a/README.md +++ b/README.md @@ -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).