On 12-06-06 03:32 , Eric Botcazou wrote:
When doing native bootstraps, we need to set --with-gnu-as=no because
binutils 'as' does not handle a flag that we pass to our own version
of 'as'.

That looks like a kludge to me.  You can probably achieve the same effect with
a script filtering out the unsupported flag.

Agreed.  That bug that needs to be fixed in the branch.

But that's correct: the final say over --with-gnu-as is in config.gcc.  Without
my patch, you have a disagreement between auto-host.h and config.gcc (hence
tm.h ultimately) if the latter overrides -with-gnu-as, which can potentially
lead to inconsistencies like in the linker case.

So, why do we have the --with-gnu-as flag then?

Eric, shouldn't the whole section testing for GNU as move after the
inclusion of config.gcc?

I don't think so, that would change the semantics of --with-gnu-as.

That's my point. After your patch, --with-gnu-as has no meaning. The user has no way of overriding the value guessed by config.gcc.


Diego.

Reply via email to