repos / gbc

GBC - Go B Compiler
git clone https://github.com/xplshn/gbc.git

commit
e6c5972
parent
187194a
author
xplshn
date
2025-08-25 12:10:28 +0000 UTC
Update README.md
1 files changed,  +6, -5
M README.md
+6, -5
 1@@ -20,13 +20,14 @@ This compiler is a project aiming to make a valid B compiler, with _optional_ sy
 2         A compiler for the B programming language and its extensions, written in Go.
 3 
 4     Options
 5-        --compiler-arg<arg>                            Pass a compiler-specific argument (e.g., -C linker_args='-s')
 6+        -C <arg>, --compiler-arg <arg>                 Pass a compiler-specific argument (e.g., -C linker_args='-s').
 7         -h, --help                                     Display this information
 8-        --include<path>                                Add a directory to the include path
 9-        --linker-arg<arg>                              Pass an argument to the linker
10-        -o <file>, --output <file>                     Place the output into <file>                                        |a.out|
11+        -I <path>, --include <path>                    Add a directory to the include path.
12+        -L <arg>, --linker-arg <arg>                   Pass an argument to the linker.
13+        -o <file>, --output <file>                     Place the output into <file>.                                       |a.out|
14+        --pedantic                                     Issue all warnings demanded by the current B std.
15         --std<std>                                     Specify language standard (B, Bx)                                   |Bx|
16-        -t <backend/target>, --target <backend/target> Set the backend and target ABI (e.g., llvm/x86_64-linux-musl)       |qbe|
17+        -t <backend/target>, --target <backend/target> Set the backend and target ABI.                                     |qbe|
18 
19     Feature Flags
20         -F<feature flag>                               Enable a specific feature flag