On Wed, Aug 24, 2005 at 04:31:04PM +0530, Y Giridhar Appaji Nag wrote: > This maybe a dumb question, but if gcc -dumpmachine does it, why would > we need dpkg-architecture in Debian? Have a look at the dpkg-architecture code.
> Also, gcc -dumpmachine will tell you the CPU, OS and SYSTEM, but will > not tell you if the userland is 32 bit on a 64bit CPU (or does it? I > don't have an AMD64 machine around). I think a 'file -L /lib/libc.so.6' > will give you this information. No. gcc -dumpmachine is perfectly o.k.: gcc -dumpmachine gives i486-linux with a gcc that _defaults_ to a 32bit userland and should give something different on a amd64 machine that _defaults_ to a 64bit userland, I can't check this atm though. Cheers, -- Guido -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

