Lin George wrote:
Hello everyone,
Why running a program on a specific platform (Linux), there are runtime errors which mentions that specific LIBC runtime version is required (for example, GLIBC_2.3.3).
I think C runtime should be compatible (means using one version of gcc to build a program, it should be able to run on platform which contains another version of gcc runtime). I am not sure whether this error is caused by some wrongly used compile/link options (which binds this program to specific C runtime version)?
Maybe you think glibc should never make incompatible version changes,
but this is not under the control of gcc. You may be able to make a
static linked build against a newer glibc and be able to run on a target
which doesn't have that glibc installed, but I would say this is still
outside the scope of gcc.