Centos 7 Compiling ACE Static Library

  • Download ACE http://download.dre.vanderbilt.edu/
    Important: get packets like ACE-x.y.z.tar.gz rather than ACE-src-x.y.z.tar.gz.
    I have donwloaded the ACE version is ACE-6.3.4.tar.gz.
  • Unpack
cd /home
tar -zxvf ACE-6.3.4.tar.gz
  • set the environment variable ACE_ROOT to point to the directory where ace is unpacked
export ACE_ROOT="/home/ACE_wrappers"
  • Create a soft link to config-linux.h
cd $ACE_ROOT/ace
ln -s config-linux.h config.h
  • And a soft link to platform_linux.GNU
cd $ACE_ROOT/include/makeinclude
ln -s platform_linux.GNU platform_macros.GNU
  • Compiling ACE Static Library
cd $ACE_ROOT/ace
make static_libs_only=1 -j4

If you want to compile the dynamic library, remove static_libs_only=1 and make -j4.

When you are done you should see the libraries in $ACE_ROOT/lib.

0 0 votes
Article Rating
赞(1) 打赏
未经允许不得转载:iemblog » Centos 7 Compiling ACE Static Library
Notify of

Inline Feedbacks
View all comments
免责声明:本站大部分下载资源收集于网络,只做学习和交流使用,版权归原作者所有,请在下载后24小时之内自觉删除,若作商业用途,请购买正版,由于未及时购买和付费发生的侵权行为,与本站无关。本站发布的内容若侵犯到您的权益,请联系站长删除,我们将及时处理! Disclaimer: Most of the download resources on this site are collected on the Internet, and are only used for learning and communication. The copyright belongs to the original author. Please consciously delete within 24 hours after downloading. If you use it for commercial purposes, please purchase the original version. If the content posted on this site violates your rights, please contact us to delete it, and we will deal with it in time!

联系我们 Contact us




Would love your thoughts, please comment.x