miscellaneous_tips:20_software_development:gcc_notes:gcc_list_preprocessor_symbols

'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

  • miscellaneous_tips/20_software_development/gcc_notes/gcc_list_preprocessor_symbols.txt
  • Zuletzt geändert: 2021-01-18 17:20
  • von 127.0.0.1