This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix PR ada/52362


On 12-06-06 07:23 , Eric Botcazou wrote:
So, why do we have the --with-gnu-as flag then?

Because, on some platforms like Solaris, you can use the system assembler or the GNU assembler, so nothing is hardcoded in config.gcc and --with-gnu-as makes it possible to pick one. On Linux, it's always the GNU assembler so this is hardcoded.

Ah, OK.


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.

But that value isn't guessed at all: if it's set, then it's always correct. Note that my patch didn't change that, i.e. the compiler was and is still configured for the GNU assembler whatever --with-gnu-as you pass on Linux.

Actually, no. If I undo your patch, I can control the value of HAVE_GNU_AS with the flag. But you are right in that this makes no material difference in what we end up using.



Thanks. Diego.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]