You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
530 B
Markdown

# Compile Commands
My preferred compile commands to quickly look up
## Programming languages
* **C** - `gcc -std=gnu99 -Werror -Wfatal-errors -Wall -Wpedantic blub.c -o blub`
* if necessary, remove `-Wpedantic`, since it warns for features definitely included by using `gnu99` as compiler
* **C++** - `g++ -Wall -c blob.cpp blub.cpp` -> `g++ -Wall -o blub blob.o blub.o`
* `blob.cpp` gets linked (blub.cpp would likely start with something like `#include "blob.h"`)
## Other languages
* **LaTeX** - `lualatex blub.tex`