LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Kernel not compiling

[ILUG] Kernel not compiling

Kenn Humborg kenn at linux.ie
Mon Nov 27 09:44:15 GMT 2000


On Mon, Nov 27, 2000 at 08:20:24AM -0000, Wynne, Conor wrote:
> Yep, its the ol kgcc buzz, but be careful to change ALL references to gcc to
> kcc, there are usually two to change else you'll be back with failing
> kernels...

Dunno about that...  There are two references to gcc in the makefiles
because some files are compiled for the target and some are compiled
for the build machine.  For example, the file arch/i386/boot/tools/build.c
is compiled and runs on the _build_ machine, not on the target.

The CC variable specifies the compiler to use for compiling for the target
and HOSTCC specifies the compiler to use for the build machine.

You should only have to change CC.

Anyway, I'm sure this is well documented on www.redhat.com somewhere as I've
seen this question come up here and elsewhere at least 3 or 4 times a week...

Later,
Kenn





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell