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: Tim Prince <n8tm at aol dot com>
- To: gun_raj at yahoo dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 24 Jun 2007 22:01:50 -0700
- Subject: Re: relation between gcc/glibc version and linux kernel version??
- References: <618127.86271.qm@web52407.mail.re2.yahoo.com>
- Reply-to: tprince at computer dot org
gun_raj@yahoo.com wrote:
How closely tied are the linux kernel version and the gcc/glibc versions? and where exactly does binutils come in?
Not at all closely, although versions from different years are unlikely
to be well tested together.
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?
There's nothing to stop you from trying to build and install a recent
gcc on an out of date system. You will have to build from source, so
that the configure steps can take into account the glibc etc on your
system. When you carry it this far, there are no guarantees at all.
You should probably be interested in a more modern distro, provided your
hardware is still supported. In my experience, attempts to build
libstdc++ often require a binutils update. New architecture options in
gcc surely will not work without support in binutils.