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:
Hi
For example i hear that native posix threads has portions of it implemented in kernel and also requires glibc support. In such cases if i attempt to run an application compiled with gcc-4 on a linux-2.4 kernel, wont there be problems??
With changes in binutils, would there be changes in the basic elf format itself?? in such case wouldn't the kernel need to know about this?

If you build and install gcc 4.2 on an installation without pthreads support, it may recognize that and tell you that libgomp can't be built. This would only prevent -fopenmp from working.
A fairly common situation is with people who insist on running RH9 without installing the follow-on patch which incorporates pthreads static libraries, then they want to know why a threaded build with -static fails. I have no idea why RH9 is so popular.



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