This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/61651] Cross compiler will use host as eroneously
- From: "egallager at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 14 Nov 2018 03:09:50 +0000
- Subject: [Bug driver/61651] Cross compiler will use host as eroneously
- Auto-submitted: auto-generated
- References: <bug-61651-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61651
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |build
--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Martin Husemann from comment #1)
> Passing AS_FOR_TARGET (and friends) in the configure environment does not
> help, but explicitly adding --with-as=.. does fix the issue.
>
> So this looks like a pure configure bug.
If this is a pure configure bug, the solution is purely in patching the build
machinery, so adding the "build" keyword