https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80782
René J.V. Bertin <rjvbertin at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|DUPLICATE |---
--- Comment #5 from René J.V. Bertin <rjvbertin at gmail dot com> ---
(In reply to René J.V. Bertin from comment #4)
> Write a wrapper script that just prepends or appends `-q` to the arguments
> and then calls the actual `as` command, and use that wrapper with the
> `--with-as` option? Crossing fingers that GCC itself will build...
I tested that yesterday evening using a very simple wrapper that prepends `-q`
to the arguments and then execs `as`. Clearly `as -q` does a better job in
translating the commandline arguments to clang-lingo than my wrapper script did
(and fortunately so, I dare say). The build completed fine, and is functional -
on Mac OS X 10.9.5 and `as` configured to invoke clang 4.0 .
I'm thus reopening this ticket. It is NOT a duplicate of the aforementioned bug
report.
I cannot edit the original description but it should be reworded/completed to
include something like the following:
It would be useful if GCC could be configured to include platform-specific
arguments for the default assembler, in this case `-q`. Setting up that
assembler correctly so that it works properly when invoked by GCC is an
independent responsibility that falls to the installing user, not GCC.