Install the ACE compiling environment in Ubuntu

Source: Internet
Author: User
1. Use Logging

1. Use http://riverace.com/downloads.htm?ace_releasesto download the acepackage for compilation:
2. Open the script file with gedit/etc/bash. bashrc and add the environment variable
# ACE env
Export ACE_ROOT =/ACE_wrappers

Export MPC_ROOT = $ ACE_ROOT/MCM

Export LD_LIBRARY_PATH = $ ACE_ROOT/lib:/usr/local/lib/sparcv9:/usr/openwin/lib:/usr/local/lib:
Export PATH = "/usr/local/sbin:/usr/sbin:/sbin :$ {PATH };$ {HOME}/bin"


3. Go to the $ ACE_ROOT/ace directory and create a text config. h with the following content:
# Include "ace/config-linux.h"
Or use the ln-s config-linux.h config. h command

4. Go to the $ ACE_ROOT/include/makeinclude directory and create a text file platform_macros.GNU with the following content:
Include $ (ACE_ROOT)/include/makeinclude/platform_linux.GNU
Or use the ln-s platform_linux.GNU platform_macros.GNU command.

5. Set the make install installation path. I have created a build1 directory on my own, and then set the installation path using export:

Export INSATLL_PREFIX =/ACE_wrappers/build1

Enter the ace folder.
Make
Make install
.

The last header file and library can be found in the build1 directory.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.