Re: GCC for kernel compilation
On Thu, Aug 07, 2003 at 01:19:49PM -0700, Bill Moseley wrote:
> On Thu, Aug 07, 2003 at 03:14:22PM -0500, Ron Johnson wrote:
> > On Thu, 2003-08-07 at 15:09, Bill Moseley wrote:
> > > Was I just lucky? What's the issue with gcc 3.3 and kernel
> > > building?
> > Well, you shouldn't need to edit those source files. gcc 3.2.3
> > worked fine for me on 2.4.20.
> So are those multi-line macros *the* issue with 3.3? Seemed odd to me
> but I was happy to just un-wrap them into a single line to get my
> kernel built.
I believe it's more a question of what the authors recommend/support,
from the README:
COMPILING the kernel:
- Make sure you have gcc 2.95.3 available. gcc 2.91.66 (egcs-1.1.2) may
also work but is not as safe, and *gcc 18.104.22.168 is no longer supported*.
Also remember to upgrade your binutils package (for as/ld/nm and company)
if necessary. For more information, refer to ./Documentation/Changes.
GCC v2.95.4 is the closest thing in Debian.
Jamin W. Collins
This is the typical unix way of doing things: you string together lots
of very specific tools to accomplish larger tasks. -- Vineet Kumar