在 2024-01-30 12:22, Hans-Peter Nilsson 写道: > It's #APP #NO_APP, not /APP /NO_APP, for x86_64-linux, even for > -masm=intel. > For x86_64-w64-mingw64, GCC emits `/APP`; but Clang still emits `#APP`, as other targets. (https://gcc.godbolt.org/z/oj8vdGb78) > That said, I guess you're going to modify gas too. But please > don't change the #APP/#NO_APP semantics for non-intel targets. Probably not.. As mentioned earlier, there is too little interest on this. No progress shall be made unless there are comments from MASM authors. I'm keeping GCC patched locally for now. This patch does not look so horrible: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53929#c26 -- Best regards, LIU Hao