From 2dccdd347f478a2e1d51d79d1a5ef63061a85c0a Mon Sep 17 00:00:00 2001 From: Xiphin Date: Sat, 29 Jun 2019 22:54:22 +0800 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8f29a49c39..cf5c05abec 100644 --- a/README.md +++ b/README.md @@ -60,10 +60,10 @@ make Or build without make: ```bash # Download the V compiler's source translated to C -curl -sO https://raw.githubusercontent.com/vlang/vc/master/v.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 . # Use the resulting V binary to build V from V source -./v -o v . # Build the compiler again to make sure it works +./v -o v compiler # Use the resulting V binary to build V from V source +./v -o v compiler # Build the compiler again to make sure it works ``` That's it! Now you have a V executable at `[path to V repo]/v`. @@ -99,7 +99,7 @@ Make sure the `C:/mingw-w64/bin` directory is in system's PATH. git clone https://github.com/vlang/v cd v # Download the V compiler's source translated to C -curl -sO https://raw.githubusercontent.com/vlang/vc/master/v.c +curl -O https://raw.githubusercontent.com/vlang/vc/master/v.c gcc -std=gnu11 -w -o v.exe v.c # Build it with GCC ``` @@ -112,7 +112,7 @@ $ v run hello_world.v hello world $ v -V 0.1.2 +V 0.1.9 Use Ctrl-D to exit >>> println('hello world')