[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: uname -m return?



On Fri, Feb 02, 2001 at 09:45:40AM -0500, Adam C Powell IV wrote:
> Greetings,
> 
> I'm working on a package where upstream wants their architecture script to
> return a name and build accordingly based on the results of uname -s and uname
> -m (so I can't use dpkg-architecture).  What does the latter return on hppa,
> m68k, mips and sparc?  Can I safely assume they're all 32-bit big-endian, so
> the powerpc config can be used, or is e.g. "mips" returned on both 32- and
> 64-bit platforms?
> 
> (Please cc me in replies.)

resume:~# uname -a
Linux resume.rfc822.org 2.4.0 #3 Thu Jan 25 16:25:23 CET 2001 mips unknown
resume:~# uname -m
mips

I am right now unsure what "mipsel" returns - But it should be the
same but its "little endian"

Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-5201-669912
     Why is it called "common sense" when nobody seems to have any?



Reply to: