Re: [Linux-ia64] Recommended compiler for compiling kernels test10 and upper?

From: Gerrit Huizenga <>
Date: 2000-11-14 08:38:19
I was able to build this toolchain (the lack of pre-existing g++ stuff
on my IA64 machine was a small problem but I ignored it for the time
being).  I installed it into a /usr/gcc1024 hierarchy so as not to
clobber my existing gcc (since I'm not yet moving to glibc 2.2 on
that machine).

Then I could build the kernel (on a Red Hat Linux release 6.93 (Zoot))
release, cut sometime in June, I believe.

Then, I built the kernel with:

HOSTCC=/usr/bin/gcc CC=/usr/gcc1024/bin/gcc make HOSTCC=/usr/bin/gcc CC=/usr/gcc1024/bin/gcc -j 20 > ERRS 2>&1 &

Which seems to work reasonably well.  This allows the cross tools to
build with the native CC (glibc 2.1 based) and the kernel to build
with a recent compiler, which does not care a whit about glibc

The native toolchain on that Red Hat distro does not have unwind
support, impylying no stack tracebacks in panics, kdb, etc.  The newer
gcc works fine, compiles completely, and has wonderful stack

All this on a 4-proc Lion, running A3 procs and an ancient BIOS/frame
(my B2/B3 upgrade has been deferred for a while).



> I am not a kernel expert.  I do not build my own kernels.  I can not tell you
> which compiler versions are best for compiling which kernel versions.
> However, in general, I recommend the most recent toolchain snapshot available
> at  These toolchains assume glibc 2.2.
> Unfortunately, sigh, there aren't any glibc 2.2 based OS releases yet, but
> this shouldn't matter if you are just building kernels.
> Jim
> _______________________________________________
> Linux-IA64 mailing list
Received on Mon Nov 13 13:38:27 2000

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:00 EST