This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]