'gcc' List Preprocessor Symbols

The command

gcc -march=native -dM -E - < /dev/null

lists all preprocessor symbols that are defined for the native target platform.


Source:


Martin Burnicki martin.burnicki@burnicki.net, last updated 2020-12-07