1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2025-03-16 14:52:51 -07:00

add note about compiler defaults

This commit is contained in:
Connor Olding 2018-02-21 10:52:53 +01:00
parent b282b86724
commit 170d740427

View file

@ -212,6 +212,7 @@ tested on x86\_64 and on ARMv7 as well.
does not support MacOS ;\_;
defaults to gnu11 and gnu++1z as C and C++ standards respectively.
defaults to clang, gcc, and msvc in that order.
`compile` attempts to guess the most sane switches for any program,
so that compilation may reduce to:
@ -219,6 +220,7 @@ so that compilation may reduce to:
```sh
# debug build
compile rd.c
compile debug rd.c
# debug build with warning/error flags defined in .-shrc
# (requires .zshrc for global alias expansion)
compile WHOA rd.c