As this question shows, with g++, I can do g++ -S -masm=intel test.cpp
.
Also, with clang, I can do clang++ -S test.cpp
, but -masm=intel
is not supported by clang (warning argument unused during compilation: -masm=intel
). How do I get intel syntax with clang?