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

来源:互联网 发布:深入浅出数据分析阅读 编辑:程序博客网 时间:2024/04/30 11:25

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


0 0
原创粉丝点击