Subject: Re: CVS commit: othersrc/bootstrap-pkgsrc
To: Chris Pinnock <cjep@netbsd.org>
From: None <henning@openbsd.org>
List: source-changes
Date: 12/08/2002 20:52:10
On Sun, Dec 08, 2002 at 07:16:41PM +0000, Chris Pinnock wrote:
> On Sun, Dec 08, 2002 at 08:27:45PM +0100, Henning Brauer wrote:
> > On Sun, Dec 08, 2002 at 03:30:57PM +0200, Chris Pinnock wrote:
> > >
> > > Module Name: othersrc
> > > Committed By: cjep
> > > Date: Sun Dec 8 13:30:57 UTC 2002
> > >
> > > Modified Files:
> > > othersrc/bootstrap-pkgsrc: mkbinarykit
> > >
> > > Log Message:
> > > On OpenBSD use "arch -s" instead of "uname -p" as the output is shorter
> > > (e.g. Intel Pentium (P54C) ("GenuineIntel" 586-class) versus i386).
> >
> > actually uname -m fits for that.
>
> Does it distinguish between hardware architectures on OpenBSD?
oh yes!
> e.g.
> on NetBSD on my RAQ2, uname -m gives cobalt, but uname -p is mipsel
> (which is what I really want for most userland).
well, we have no mipsel ;-)
arch -s should be fine too, I have yet to see an occasion where this does
not match with uname -m on OpenBSD ;-)
--
Henning Brauer, BS Web Services, http://bsws.de
hb@bsws.de - henning@openbsd.org
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)