Skip to content

Table of default arguments

Zeioth edited this page Aug 11, 2023 · 29 revisions

The default arguments we pass to the compiler of every language are show warnings and compile in debug mode. We do this so you can debug the resulting executable using DAP.

Language Compiler Default arguments we pass
c gcc -Wall -g
c++ g++ -Wall -g
c# csc -warn:4 /debug
java javac -Xlint:all
rust rustc -D warnings -g
go go build -a -gcflags='-N -l'
asm x86-64 nasm to compile and mingw-w64 to call the linker ld -g
python python (interpreted), nuitka (machine code), pyinstaller (bytecode) "" (interpreted), --warn-implicit-exceptions --warn-unusual-code (machine code), --log-level WARN --python-option W (bytecode)
ruby ruby ""
lua lua ""
perl perl ""
shell sh ""
make make ""

This information is important so you can pass your own arguments to the compiler using a .solution file.

Clone this wiki locally