This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: relation between gcc/glibc version and linux kernel version??
- From: Mike Stump <mrs at apple dot com>
- To: ganesh subramonian <gun_raj at yahoo dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 24 Jun 2007 21:52:16 -0700
- Subject: Re: relation between gcc/glibc version and linux kernel version??
- References: <618127.86271.qm@web52407.mail.re2.yahoo.com>
On Jun 24, 2007, at 9:32 PM, ganesh subramonian wrote:
I have a very basic doubt regarding gcc,binutils and kernel.
How closely tied are the linux kernel version and the gcc/glibc
versions?
Versions of gcc are never (much) dependent on kernel versions. They
are rarely dependent on glibc versions, and loosely dependent on
binutil versions. For binutils dependencies, you'd want to ask on a
binutils list, though, doubt you'd have to worry much about it, as
long as you aren't trying to compile with gcc-1.27 or something weird
like that. For glibc, you'll want to consult it's documentation and
be sure to use a recommended gcc version, same with the kernel.
What kind of changes usually require that version x of kernel
requires version y of binutils and gcc-z.
Bugs.
And is there any relation between compiler version used for kernel
and application compilation??
No.
For eg: can i run a system with linux-2.4.20 kernel (compiled with
gcc-2.95) and have applications compiled with gcc-4 running on it?
Yes.