Re: The 4.1.2 gcc can not compile the linux kernel 2.6.11

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

 



Parmenides <mobile.parmenides@xxxxxxxxx> writes:

>     My Linux box is running the kernel 2.6.34, gcc 4.1.2 and ld 2.17.
> For some purpose, I want to compile the Linux kernel 2.6.11, but fail
> to do that. It is said that the version of gcc is too high to compile
> an older kernel source. I wonder whether or not the gcc is backward
> compitable with its older version. Or, is there any way to adjust the
> current gcc to compile a specific kernel source?

gcc 4.1.2 is fairly old.  Are you sure your version of gcc is too new,
and not too old?

gcc is normally backward compatible for standard programs, but it is not
always backward compatible for programs which use gcc extensions.  Like
the Linux kernel.  You will have to ask the kernel developers which
versions of gcc can compile the kernel version you care about.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux