Linking Statically with glibc and libstdc++

后端 未结 4 2128
遥遥无期
遥遥无期 2020-12-07 19:41

I\'m writing a cross-platform application which is not GNU GPL compatible. The major problem I\'m currently facing is that the application is linked dynamically with glibc a

4条回答
  •  轮回少年
    2020-12-07 19:54

    I must question what the heck you are doing with the poor library functions?

    I have some cross platform software as well. It runs fine on Linux systems of all sorts. Build with the oldest version of software that you want to support. The glibc and libstdc++ libraries are really very backward compatible.

    I have built on CentOS 4 and run it on RHEL 6 beta. No problems. I can build on stable Debian and run it on testing.

    Now, I do sometimes have trouble with some libraries if I try to build on, say old Debian and try to run it on CentOS 5.4. That is usually due to distribution configuration choices that are different, like choosing threading or non-threading.

提交回复
热议问题