Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
There are several options
1) Link the application with the -static flag. You will only have to use static third party libraries for this.
2) Build a cross-compiler in which build the same version of libc as in centos 6, then it will be possible to link with statics only c++ and gcc runtimes ( libstdc++.a, libgcc.a) through the flags -static-libgcc and -static- libstdc++
On the seven, glibc is older, and it has only top-down compatibility. Resolve the issue with her first.
3) Start a build server on 6-ke, let the release builds build there, build the compiler you need, the problem with glibc will disappear by itself. Well, yes, link runtimes with statics.
Well, it's easier to put a virtual machine with CentOS 6 to the developer.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question