[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to get a working kernel? (2.4)



If you uninstall gcc-3.3, the kernel compile will automatically use sparc64-linux-gcc.

(as long as you set the ARCH properly to sun4u, for instance).

satadru

--On Wednesday, June 04, 2003 11:30 AM -0400 Ben Collins <bcollins@debian.org> wrote:

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/


--
To UNSUBSCRIBE, email to debian-sparc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org




--
The greatness of the United States is that it corrects its errors.
-Octavio Paz




Reply to: