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]
Other format: [Raw text]

Re: flag day for Solaris portions of config.{guess,sub}


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


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