public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* The 4.1.2 gcc can not compile the linux kernel 2.6.11
@ 2011-10-25  3:27 Parmenides
  2011-10-25  5:24 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Parmenides @ 2011-10-25  3:27 UTC (permalink / raw)
  To: Gcc mailing list

Hi,

    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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: The 4.1.2 gcc can not compile the linux kernel 2.6.11
  2011-10-25  3:27 The 4.1.2 gcc can not compile the linux kernel 2.6.11 Parmenides
@ 2011-10-25  5:24 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2011-10-25  5:24 UTC (permalink / raw)
  To: Parmenides; +Cc: Gcc mailing list

Parmenides <mobile.parmenides@gmail.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-25  5:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-25  3:27 The 4.1.2 gcc can not compile the linux kernel 2.6.11 Parmenides
2011-10-25  5:24 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).