This is the mail archive of the gcc@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]

Re: config.guess and Linux/GNU


On Wed, 07 Jun 2000, Martin v. Loewis wrote:
> > I have no personal opinion, but my understanding was the `linux-gnu'
> > was the FSF way of spelling the system name, just as GNU/Linux is the
> > way the FSF names the system(s) that some folks call just plain Linux.
> >
> > Was this an intentional change?
>
> I don't know whether the change was intentional, but I believe your
> understanding is incorrect. At some point, the target triplet was
> changed to optionally be a target quadruple, with the fourth part
> being the "environment". This was only used on Linux, where "gnu"
> really indicated presence of the GNU system, in particular of the GNU
> C library.
>
> At the time the feature was introduced, the rationale was that there
> could be also a sparc-sun-solaris-gnu (etc), which is a Sun Solaris
> kernel with a GNU system on top of it.

Ah, nice info on the history.

But I think this change of behaviour is wrong and buggy. It was introduced 
with:

revision 1.142
date: 2000/04/25 20:58:07;  author: bje;  state: Exp;  lines: +4 -0
2000-04-26  Ben Elliston  <bje@redhat.com>
 
        * config.guess: Handle an ld emulation of elf_i?86. From Bruce
        Korb <bkorb@sco.com>.                                                 

Not only it misses the -gnu, I think it also breaks support for x86 libc5 
platforms IMHO. I think it should be fixed. I wonder why this patch was 
necessary anyway, it looks superflous to me. Hmm, and for uniformity, 
ia64-linux should be fixed too.

Franz.

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