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

Re: GCC for kernel compilation



On Thu, 2003-08-07 at 15:46, Jamin W. Collins wrote:
> 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 2.7.2.3 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.

Yeah, but that README is from the Romantic Era.  There was some 
talk about this on LKML.  3.2 works, 3.3 is known not to, as of
the time 2.4.20 came out.

-- 
+---------------------------------------------------------------+
| Ron Johnson, Jr.        Home: ron.l.johnson@cox.net           |
| Jefferson, LA  USA                                            |
|                                                               |
| "Man, I'm pretty.  Hoo Hah!"                                  |
|    Johnny Bravo                                               |
+---------------------------------------------------------------+




Reply to: