centos6.5编译安装ACE6.3.4静态库

1.登陆到root用户su -l

2.设置ACE_ROOT环境变量 export ACE_ROOT=/root/ACE_wrappers

3.在ace目录建立config.h 或建立config-linux.h的软链接 ln -s config-linux.h config.h

4.在include/makeinclude目录建立platform_macros.GNU文件 或建立platform_linux.GNU的软链接

ln -s platform_linux.GNU platform_macros.GNU

5.要使用epoll在config.h中加入#defined ACE_HAS_EVENT_POLL

6.在ace目录下make static_libs_only=1 INSTALL_PREFIX=/usr/local install


猜你喜欢

转载自blog.csdn.net/kimfeng/article/details/52885628