g++.exe -x c++ -O2 -DCONTEST
g++.exe -x c++ -s -static -O2 -DCONTEST
g++.exe -x c++ -std=c++11 -static -Wl,--stack,67108864 -O2 -DCONTEST
g++.exe -x c++ -std=c++14 -static -m32 -march=i686 -Wl,--stack,67108864 -O3 -DCONTEST
g++.exe -x c++ -std=c++14 -static -m32 -march=i686 -Wl,--stack,67108864 -Og -DCONTEST -pedantic -Wall -Wextra -Wfloat-equal -Weffc++ -Wredundant-decls -Wconversion -Wlogical-op -Wcast-qual -Wformat=2 -Werror -Wno-error=sign-compare -Wno-error=conversion -Wno-error=vla -Wno-error=maybe-uninitialized -Wno-error=float-equal -Wno-error=float-conversion -fstack-protector-all -D_FORTIFY_SOURCE=2
С++ - настройка IDE и GCC
Список всех опций компиляции GCC Список всех опций компиляции Free Pascal