relation between gcc/glibc version and linux kernel version??

Tim Prince n8tm@aol.com
Mon Jun 25 11:32:00 GMT 2007


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.



More information about the Gcc mailing list