[Bug target/68774] gcc should allow disabling markup in Xcode 7 assembler messages
iains at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 7 19:46:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68774
--- Comment #2 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to mrs@gcc.gnu.org from comment #1)
> I glanced around and didn't find how to turn it off. First step, ask around
> and find the option to turn it off. From there, we can pass it when the gcc
> option to not color is given.
AFAIR cctools 'as' invokes clang -x assembler -integrated-as -c
so you'd need to look up the method to switch off colour in clang
(-fno-color-diagnostics) and maybe do -Wa,-fno=color-diagnostics .. if that
works, perhaps raise a radar saying that we'd prefer no colour there.
I have a draft of an "las" driver which calls the MC layer directly (i.e.
replaces as but using the llvm assembler without going via clang) .. not ready
for production yet.. but will try to share asap.
More information about the Gcc-bugs
mailing list