Warren L Dodge <[EMAIL PROTECTED]> writes:

> I am using coreutils-5.0 and found that uname -a has unknown in two of the
> fields where /bin/uname -a has proper information

Can you find out how /bin/uname does it, on your host?  You may need to
look at its source code, or strace it.

My /bin/uname behaves similarly to coreutils 5.3.0 in this respect
(though the latter appends "unknown GNU/Linux" for the
hardware-platform and the OS, respectively).

$ /bin/uname -a
Linux penguin 2.4.18-1-686.eggert #1 Wed Mar 10 11:45:48 PST 2004 i686 unknown
$ uname -a
Linux penguin 2.4.18-1-686.eggert #1 Wed Mar 10 11:45:48 PST 2004 i686 unknown 
unknown GNU/Linux

> This in turn had caused problems with /usr/X11R6/bin/gccmakedep which used
> the uname -i command to get the arch which is unknown with coreutils and i386
> with /bin

My gccmakedep ($XFree86: xc/config/util/gccmdep.cpp,v 3.8 2001/03/15
18:39:00 tsi Exp $) does not invoke uname -i, nor does the latest CVS
version <http://cvsweb.xfree86.org/cvsweb/xc/config/util/gccmdep.cpp>.
Perhaps that bug has been fixed?


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to