On 05/08/24 11:08 +0200, Guido Guenther said ...
> On Wed, Aug 24, 2005 at 09:13:21AM +0200, Alexander Sack - Debian Bugmail 
> wrote:
> > On Wed, Mar 30, 2005 at 02:56:18PM +0200, Guido Guenther wrote:
> > > 
> > > Problem can be worked around by using e.g. "linux32 debuild". The
> > > correct solution would probably be to not rely 'uname -m' in ./configure
> > > but to detect the machine type by using gcc (as dpkg-architecture does).
> > > Alternatively we could pass the machine detected by dpkg-architecture to
> > 
> > I think dpkg-architecture would not be an option for upstreams configure.in
> > file. Maybe you can tell me how to use gcc to detect the system?
> 
> gcc -dumpmachine

This maybe a dumb question, but if gcc -dumpmachine does it, why would
we need dpkg-architecture in Debian?

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.

Giridhar

-- 
Y Giridhar Appaji Nag | http://www.appaji.net/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to