On Wed, Jun 04, 2003 at 11:10:00AM -0500, Greg Moeller wrote: > > > > --y0ulUmNC+osPPQO6 > > Content-Type: text/plain; charset=us-ascii > > Content-Disposition: inline > > > > > > > >I'm trying to compile the latest 2.4 series kernel (2.4.20?) and using > > >gcc3. > > > > Don't use gcc3 to compile kernels, use egcs64 instead. > > > > Gruss > > Steffan > What should be linked to gcc? > I've got: > -rwxr-xr-x 1 root root 144316 Apr 13 2002 /usr/bin/gcc-2.95 > -rwxr-xr-x 1 root root 80500 Apr 10 2002 /usr/bin/gcc-3.0 > -rwxr-xr-x 1 root root 74944 Jan 4 2001 > /usr/bin/sparc64-linux-gcc.egcs64 > > If I link the sparc64... to gcc, I can't compile anything at all, instant > failure, even with make xconfig. (or make dep) > > Anyone happen to have a .config file that compiles 2.4.20 or 2.5.70 clean? > (and has SMP enabled?)
/usr/bin/sparc64-linux-gcc is linked to /usr/bin/sparc64-linux-gcc.egcs64. Edit arch/sparc64/Makefile in the kernel and comment out CC= and add a line like: CC=sparc64-linux-gcc -- Debian - http://www.debian.org/ Linux 1394 - http://www.linux1394.org/ Subversion - http://subversion.tigris.org/ Deqo - http://www.deqo.com/

