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

Re: arch name



On Sat, Dec 07, 2002 at 01:48:36PM +0100, Russell Coker wrote:
> In my debian/rules I need to know the name of the architecture.  I need the 
> name that is used in Debian packages "i386" for Intel or "arm" for ARM.  
> uname gives "i686" and "armv4l" respectively (and presumably has similar 
> problems on other platforms).
> 
> What do I do to get the generic name for the platform?

dpkg-architecture.

Which is, BTW, being called by dpkg-buildpackage, so those variables
should be there already.

-- 
wouter at grep dot be

"Human knowledge belongs to the world"
  -- From the movie "Antitrust"



Reply to: