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

compiler: remove -keepc option (it is now always on)

This commit is contained in:
Delyan Angelov
2020-07-06 13:42:11 +03:00
parent c94038af89
commit 25771a1afe
9 changed files with 7 additions and 23 deletions

View File

@ -34,10 +34,6 @@ These build flags are enabled on `build` and `run` as long as the backend is set
-compress
Strip the compiled executable to compress it.
-keepc
Specify that you want V to not delete the intermediate generated C source code.
Use with -cg for best debugging experience.
-freestanding
Build the executable without dependency on libc.
Supported only on `linux` targets currently.

View File

@ -6,7 +6,7 @@ Usage:
Examples:
v hello.v Compile the file `hello.v` and output it as `hello` or `hello.exe`.
v run hello.v Same as above but also run the produced executable immediately after compilation.
v -keepc -cg run hello.v Same as above, but make debugging easier (in case your program crashes).
v -cg run hello.v Same as above, but make debugging easier (in case your program crashes).
v -o h.c hello.v Translate `hello.v` to `h.c`. Do not compile further.
V supports the following commands: