------- Comment #7 from joseph at codesourcery dot com 2010-09-03 11:38 -------
Subject: Re: Ada bootstrap broken
On Fri, 3 Sep 2010, jakub at gcc dot gnu dot org wrote:
> I think for -D and -U at least the canonicalization should be joined instead
> separate, because that's how people are used to write these options (which
> doesn't mean the tools the driver invokes shouldn't be changed to handle
> And for -I- similarly.
The canonicalization is an internal convention, except where GCC is
passing options directly to tools not included in GCC such as the linker.
I chose separate as the preferred canonicalization on the basis of POSIX
generally only having the separate forms of operands.
It looks like the issue is not in fact how the driver passes -I options to
gnat1 but how gnat1 internally reconstitutes an argv array from decoded
options for use by the Ada parts of gnat1 that expect such an array. So
I'm testing a patch local to the ada/gcc-interface code that only adjusts
that reconstitution, only for -I.