bug-coreutils
[Top][All Lists]
Advanced

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

uname problem on Mac OS X


From: TjL
Subject: uname problem on Mac OS X
Date: Thu, 19 Jul 2007 16:49:37 -0400


I was having some problems getting programs to compile on my Mac, and tracked it down to the GNU uname program (which I then renamed 'guname' for the purposes of testing).

This is the version I have installed:

$ guname --version
uname (coreutils) 5.2.1
Written by David MacKenzie.

Note the difference in -a and -p from the regular 'uname' program (/ usr/bin/uname):

uname -a: Darwin MacBook.local 8.10.1 Darwin Kernel Version 8.10.1: Wed May 23 16:33:00 PDT 2007; root:xnu-792.22.5~1/RELEASE_I386 i386 i386 guname -a: Darwin MacBook.local 8.10.1 Darwin Kernel Version 8.10.1: Wed May 23 16:33:00 PDT 2007; root:xnu-792.22.5~1/RELEASE_I386 i386 unknown MacBook1,1 Darwin

 uname -m: i386
guname -m: i386

 uname -n: MacBook.local
guname -n: MacBook.local

 uname -p: i386
guname -p: unknown

 uname -r: 8.10.1
guname -r: 8.10.1

 uname -s: Darwin
guname -s: Darwin

uname -v: Darwin Kernel Version 8.10.1: Wed May 23 16:33:00 PDT 2007; root:xnu-792.22.5~1/RELEASE_I386 guname -v: Darwin Kernel Version 8.10.1: Wed May 23 16:33:00 PDT 2007; root:xnu-792.22.5~1/RELEASE_I386


Is there a way to have the GNU versions of these programs automatically prepend a 'g' (i.e. 'gls' instead of 'ls') when installed? I've seen that done on some systems but wasn't sure if that was an automatic thing or not. Of course you wouldn't want 'ggzip' I guess! In any case, thanks for the coreutils, I love them and always install them right away when setting up a new system.

Thanks!

TjL






reply via email to

[Prev in Thread] Current Thread [Next in Thread]