Re: [Linux-ia64] platform detection at run-time

From: David Mosberger <>
Date: 2002-09-26 04:48:47
>>>>> On Wed, 25 Sep 2002 13:35:43 -0500, Nathan Straz <> said:

  Nathan> On Wed, Sep 25, 2002 at 02:18:51PM -0400,
  Nathan> wrote:
  >> What is the preferred method to determine the platform at run
  >> time ?? Are these values likely to change (after I change my code
  >> to handle this) ????

  Nathan> I had to do the same thing for an application and I ended up
  Nathan> forking off a process to run the uname command.

That doesn't work.  On a properly configured machine,
execve("/bin/uname") will return i686 when execute from an x86

Received on Wed Sep 25 11:50:20 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:10 EST