Created
September 7, 2013 10:55
-
-
Save antonijn/6474636 to your computer and use it in GitHub Desktop.
bohc --help
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The compiler for the Boh programming language. | |
Usage: bohc [options...] [input files...] | |
Options: | |
--help Displays this very message. | |
-c, --clean-progress Cleans compilation progress stored with the -s | |
option from the directory specified after the | |
option. | |
-d, --debug Compiles the binary for debug mode (optimizations | |
disabled). | |
-D, --desktop Compiles the program in desktop mode, allows use | |
of the C keyword, doesn't output js files. | |
-e, -l, --external, --lib Links the program with the specified external | |
library or program. | |
-h, --header Adds the specified C header to the list of | |
includes for the C output files, allows use of | |
symbols defined in the header through the C | |
keyword. | |
-L, --compile-lib Compile the binary as a library instead of an | |
executable. | |
-n, --no-delete Doesn't delete the compiler-generated C files | |
after compilation. Only use if trying to detect | |
bugs, or you're curious to see what the compiler | |
generates :3 . | |
-o, --output Writes the output binary to the specified file. | |
-O, --output-dir Sets the directory for the output directory. A new | |
directory will be created if the directory doesn't | |
exist. | |
-r, --recompile Recompiles the files specified after the -r option | |
and re-uses the files specified prior to the | |
option. Used for fast recompilation. | |
-R, --restore-progress Restores the previous compilation progress from | |
the folder specified after the option. Requires | |
previous compilation with the -s option. | |
-s, --save-progress Saves compilation progress for all files to the | |
directory specified after the option. Used for | |
fast recompilation. Progress can be restored with | |
the -R option. | |
-S, --no-std Compiles the binary without linking the standard | |
library. | |
-t, --this-machine Doesn't compile the binaries for platforms or | |
architectures other than the platform and | |
architecture of this machine. | |
-W, --web Compiles the program in web mode, allows use of | |
the JS keyword, doesn't output desktop binaries. | |
Report bugs to <https://github.com/antonijn/bohc/issues>. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment