Linux distribution binary compatibility

前端 未结 10 1330
日久生厌
日久生厌 2021-01-30 14:23

Any way to make a binary in a Linux distribution and run it on another distribution with same architecture? Or I should compile and build it on different distributions?

10条回答
  •  半阙折子戏
    2021-01-30 14:48

    It works. But it also depends on the version of the shared libraries you use, including libc, libstdc++ which are forced by the compiler version that may differ from distro to distro.

提交回复
热议问题