autoconf
[Top][All Lists]
Advanced

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

Re: Process output of a simple command


From: Bob Friesenhahn
Subject: Re: Process output of a simple command
Date: Tue, 20 Oct 2009 18:56:46 -0500 (CDT)
User-agent: Alpine 2.01 (GSO 1266 2009-07-14)

On Wed, 21 Oct 2009, Dr. David Kirkby wrote:

So is there a way I can check the architecture? Also, I would like to know if the machine is sun4m, as that can not be upgraded to Solaris 10. Since Solaris 10 is the only supported version of Solaris, and earlier (sun4m) hardware can not be upgraded, I would like to be able to test the architecture.

arch=`uname -m`

Any, that aside, how could I use the output of any arbitrary command, to return something I can test on?

arch=`uname -m`

I continue to believe that the approach you are taking is wrong since the work is entirely disposable. What you find out this year may be wong (or insufficient) next year, but maybe next year you will have moved on to some other project.

It is must better to document all platform specific issues which are found and the workarounds. That is what GCC and other large software usually does.

Bob
--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/




reply via email to

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