Subject: Re: compiling a 32bit kernel
To: matthew green <mrg@eterna.com.au>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-sparc64
Date: 11/11/2001 23:40:17
On Mon, Nov 12, 2001 at 07:14:51AM +1100, matthew green wrote:
> oh.
> 
> 
> you need to use a 32 bit compiler.  the 64bit compiler can output
> 32bit code but all the normal codegen/memory usage issues remain
> for the same code, so i'd suggest installing a separate toolchain
> for now....  
> 
> 
> "cc -m32", "as -32" and "ld -m sparc_elf32" i think are the magic
> otherwise...

OK, so I misunderstood how this worked. I though a 32bit kernel was
still sparcv9, but only with the reduced VM range
I'm rebuilding with a 32bit toolchain now (src/tools is really cool :)
and it seems to go well. 

Thanks and sorry for the noise.

--
Manuel Bouyer <bouyer@antioche.eu.org>
--