Linuxcamp Välj sida här

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

Re: Kernel compile problems



On Thu, Sep 28, 2000 at 06:45:25PM -0700, Mr FW User wrote:
: Hi. I've just installed 7.0 on a blank disk and now
: understand there is a 'kgcc' that must be used to
: compile the kernel. I removed gcc and linked kgcc to
: gcc and cc in /usr/bin. Now, I'm receiving the
: following assembly errors:

Those are errors caused by gcc 2.96.  You have to have the kgcc package
installed, which is essentially egcs 1.1.2.

To get my kernel compile (2.2.17) to use it, I had to change line 25 of the
top-level Makefile in the kernel source tree.  Change "cc" to "kgcc", so it
looks like this:

CC  =$(CROSS_COMPILE)kgcc -D__KERNEL__ -I$(HPATH)


-- 
Jason Costomiris <><           |  Technologist, geek, human.
jcostom {at} jasons {dot} org  |  http://www.jasons.org/ 



_______________________________________________
Redhat-list mailing list
Redhat-list@redhat.com
https://listman.redhat.com/mailman/listinfo/redhat-list


Linuxarkivet
Mail-arkivet
LDP-arkivet
RFC-arkivet
Sök i arkivet
Sponsorer
Kontakta oss
Linuxarkivet