This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: flag day for Solaris portions of config.{guess,sub}
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- To: bkorb at veritas dot com
- Cc: gcc at gcc dot gnu dot org
- Date: 20 Nov 2003 22:55:04 +0100
- Subject: Re: flag day for Solaris portions of config.{guess,sub}
- References: <m1AMwQ3-0000DbC@megami>
bkorb@veritas.com writes:
> As someone who was originally confused by the strange transforms,
> I'd suggest any changes be towards minimizing differences from the
> output from "uname(1)". In this already mutilated case, history
> needs to prevail:
>
> osrev=solaris`uname -r | sed 's/^5\.//'`
>
> and if "uname -r" stops prefixing its output with that weirdo "5."
> thingey, then the version will start being whatever "uname -r"
> says it is.
But this change would be weirder than anything else suggested so far: you
get solaris5.1 for SunOS 5.5.1/Solaris 2.5.1, and any matching on solaris2*
would be gone.
If we really want to follow uname, than go for sunos`uname -r` which will
remain valid (and recognizable at least by non-newbies) for the forseeable
future. But again, this gives tons of maintainers absurd maintenance
hazzles for minimal value.
Rainer