How to see which flags -march=native will activate?

I’m compiling my C++ app using GCC 4.3. Instead of manually selecting the optimization flags I’m using -march=native, which in theory should add all optimization flags applicable to the hardware I’m compiling on. But how can I check which flags is it actually using?

5 Answers
5

Leave a Comment