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.

639 B

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")
  • System Verilog - iverilog -Wall -g2012 1.sv 2.sv 3_tb.sv 3.sv -o 3_tb <- tb for testbench simulation

Other languages

  • LaTeX - lualatex blub.tex