我正在尝试使用 GCC 3.4.6 将一些软件移植到 Solaris 10 Sparc,并且该软件的构建系统使用cmake
. 当我运行命令cmake CMakeLists.txt
时,我会得到很多这样的输出:
ADD_LIBRARY for library <library_name> is used with the SHARED
option, but the target platform supports only STATIC libraries.
Building it STATIC instead. This may lead to problems.
显然 Solaris 10 Sparc 支持共享库,我之前在 x86 Solaris 10 上构建过这个软件。
有人遇到这个或可以提供方向吗?我将深入研究 cmake 源代码以确定 Sparc Solaris 是否存在问题。
谢谢。