Gentoo Archives: gentoo-sparc

From: Francis Barber <fedora@××××××××××××××××.au>
To: gentoo-sparc@l.g.o
Subject: [gentoo-sparc] 32 bit or 64 bit ELF on UltraSparc IIi?
Date: Wed, 26 Sep 2007 02:39:29
Message-Id: 1190773814.6582.8.camel@dwarf
Hello All,

I'm confused about why I'm compiling 32 bit ELF despite having a 64 bit
kernel (see following evidence from 'file' command).
 
/lib/modules/2.6.22-gentoo-r5/kernel/drivers/net/sunhme.ko: ELF 64-bit
MSB relocatable, SPARC V9, version 1 (SYSV), not stripped

/bin/ls: ELF 32-bit MSB executable, SPARC32PLUS, V8+ Required, version 1
(SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs),
stripped

My CHOST is "sparc-unknown-linux-gnu", but apparently I'm not meant to
change this to sparc64-unknown-linux-gnu?

Thanks very much,
Frank.

-- 
gentoo-sparc@g.o mailing list

Replies

Subject Author
Re: [gentoo-sparc] 32 bit or 64 bit ELF on UltraSparc IIi? "Jorge Manuel B. S. Vicetto" <jmbsvicetto@g.o>
Re: [gentoo-sparc] 32 bit or 64 bit ELF on UltraSparc IIi? Jason Wever <weeve3@×××××.com>