public inbox for blinux-list@redhat.com
 help / color / mirror / Atom feed
From: xander <xwiggen@students.cs.uu.nl>
To: "'Blinux listserv'" <blinux-list@redhat.com>
Cc: "'Blinux-Newbie'" <blinux-newbie@braille.uwo.ca>
Subject: Re: kgcc vs. gcc
Date: Wed, 15 Nov 2000 00:28:34 +0100 (MET)	[thread overview]
Message-ID: <Pine.GSO.4.21.0011150023181.10065-100000@abeel.students.cs.uu.nl> (raw)
In-Reply-To: <BA1FF93E22D4D211876A00A0C9B39A33024C103D@challenger.grtk.com>

  > Hi,
  > 
  > I had heard that under RH7.0 I needed to compile using kgcc instead of gcc.
  > Ok, next question, "How?". From reading the kernel docs I have come up with
  > the following procedure:
  > 
  > make clean	(just to be safe)
  > make mkproper
  > make oldconfig
  > make dep bzImage install >/usr/src/install.log
  > 
  > It is my assumtion that this defaults to gcc. How do I use kgcc? Any
  > suggestions?

The problem is that Redhat 7.0 is shipped with gcc 2.96. The linux kernel
doesn't compile correctly with this version of gcc. Hence, you need an
older version of gcc/binutils (preferably gcc 2.95.x). I do not know if
this is available with the compat-egcs-blabla packages.

I compiled 2.95.2 and binutils with the distributed RH7 gcc/binutils
packages, installed them in /usr/local, removed the RH7 gcc/binutils
packages and compiled the kernel. A bit of a hassle. I only needed 2.95
for the kernel, so I tossed it away after the succesfull compile, install
and reboot.


Good luck,
xander





      parent reply	other threads:[~ UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
 Watson, Keith
 ` A. R. Vener
 ` xander [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.4.21.0011150023181.10065-100000@abeel.students.cs.uu.nl \
    --to=xwiggen@students.cs.uu.nl \
    --cc=blinux-list@redhat.com \
    --cc=blinux-newbie@braille.uwo.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).