[Linux]
When using gcc and or g++ is there a way I can have two output files, one with and one without debugging symbols in one gcc/++ command? I don't want to have to writeg++ --Wall program.cpp -o program
, then have to immediately run g++ --Wall -g program.cpp -o program2
in order to have both executables?