Date: Tue, 1 Aug 2000 20:29:40 -0700
From: Keith M Wesolowski <[EMAIL PROTECTED]>
On Tue, Aug 01, 2000 at 08:17:50PM -0700, Ng Yeow Soon wrote:
> I'm trying to compile a device driver module on redhat
> 6.2 on Sun Ultrasparc using the default gcc compiler.
> however, the output is ELF 32-bit for Sparc version 1
> which is not the same as the existing driver ie: ELF
> 64-bit for Sparc v9 version 1. Is there any option to
> enabled in the gcc compiler or is there gcc 64-bit
> comiler available?
You need to install the egcs64 package if you haven't already, and
compile with sparc64-linux-gcc -m64 instead of just gcc.
Actually, it's not even that simple. You have to go look at the tests
and CC/CFLAGS variable settings done in arch/sparc64/Makefile to get
all the necessary command line options for sparc64-linux-gcc right.
Later,
David S. Miller
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of the message to [EMAIL PROTECTED]