[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: uptime in sh-utils 2.0 give "incorrect" output on Mac OS X
From: |
Bob Proulx |
Subject: |
Re: uptime in sh-utils 2.0 give "incorrect" output on Mac OS X |
Date: |
Wed, 30 Oct 2002 17:57:01 -0700 |
User-agent: |
Mutt/1.4i |
Petter Reinholdtsen <address@hidden> [2002-10-08 16:59:51 +0200]:
>
> GNU sh-util v2.0 on Mac OS X fail to output the correct architecture.
> Is there a known fix for this?
There is an architecture option for uname?
> % /usr/bin/uname -a
> Darwin durmstrang 6.0 Darwin Kernel Version 6.0: Sat Jul 27 13:18:52
> PDT 2002; root:xnu/xnu-344.obj~1/RELEASE_PPC Power Macintosh powerpc
>
> % /local/gnu/bin/uname -a
> Darwin durmstrang 6.0 Darwin Kernel Version 6.0: Sat Jul 27 13:18:52
> PDT 2002; root:xnu/xnu-344.obj~1/RELEASE_PPC Power Macintosh unknown
Are you referring to the 'uname -p' output which is printing 'unknown'
in the above?
> This make config.guess and configure fail when compiling a lot of
> packages.
But when I look at config.guess I don't see where it would be calling
'uname -p' for the mac. Therefore I don't see how changing this would
change any behavior in config.guess. And even if it did it sounds to
me like this would be a config.guess problem. But it looked like
config.guess avoided -p unless it knew it was available. The -p
option is not a standard option.
http://www.unix-systems.org/single_unix_specification_v2/xcu/uname.html
As an experiment you could put a different uname in your path. Then
you could change it and test the result of running config.guess with
different output from uname. Perhaps changes to config.guess are
needed which is frequently the case on new host platforms.
Since this is a rather generic issue probably further discussion on
address@hidden would be best.
Bob