Re: building a custom kernel
On Thu, May 27, 1999 at 12:27:40PM -0700, Ivan E. Moore II wrote:
> I'm trying to figure out the proper procedures for building a sparc64 kernel.
> I've downloaded the 2.2.9 kernel source and was in hope of building it
> using the 64 bit features of the ultrasparc.
> I installed the egcs64 package and notice I now have a sparc64-linux-gcc but
> there is no -ld, ar,etc...like the Makefile for the kernel expects. I've tried
> the make-kpkg process as well and it isn't happy that these are missing as
> My question I guess is is it ok to change the Makefile to just use ld, ar,
> etc... instead of sparc64-linux-ld, etc...???
No, make sure you have right packages installed.
ld --version should include elf64_sparc.
The Makefile auto detects whether you have correct binutils and if not,
tries to use what we used before that, ie. cross binutils sparc64-linux-*.
> I'm extremly green when it comes to linux on sparcs and I'm still trying to
> learn my way around it all...and sparc 64 is green as well. I understand that
> there are still several pieces left to be done in the 64bit arena before all
> this will work the way it's supposed to, but I remember reading in the archives
> that someone has compiled a 2.2.9/8/something kernel successfully and I just
> want to find out how. :)
Huh? sparc64 kernel has been 64bit and working since early 1997...
Jakub Jelinek | email@example.com | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
UltraLinux | http://ultra.linux.cz/ | http://ultra.penguin.cz/
Linux version 2.3.3 on a sparc64 machine (1343.49 BogoMips)