Ubuntu uses log 2 (build a C + + cross-compilation environment in Eclipse)

Source: Internet
Author: User


Release with cross-compilation: ARM-NONE-LINUX-GNUEABI-GCC. Build steps:

1). In project->properties->c/c++ build->settings,configure to release, in GCC C compiler and

GCC C linker command: Fill in the ARM-NONE-LINUX-GNUEABI-GCC;
2). Follow this procedure to operate: http://blog.csdn.net/oqidian12345/article/details/8968078;
3). After the operation is completed in 2, it may not be successful and the ARM-NONE-LINUX-GNUEABI-GCC is not found because the 64-bit Ubunbu

To follow some of the 32-bit libraries.
However, many of the 32-bit library download links have expired, follow http://tieba.baidu.com/p/2245543310 to install the new software Manager,

However, the ia32-libs in this link has also been invalidated, and the valid link is: Http://cz.archive.ubuntu.com/ubuntu Lucid Main, according to the blog (http://341719xubin.blog.163.com /BLOG/STATIC/13292079320119583956891/) to operate.
4). After the installation is complete ia32-libs, after setting the environment variable in the method of 2, you are still prompted to find the cross-compiler and change it in another place.

Environment variable: gedit/etc/environment, join ARM-NONE-LINUX-GNUEABI-GCC path, then source/etc/environment take effect,

Rebooting the system will be OK.

Ubuntu uses log 2 (build a C + + cross-compilation environment in Eclipse)

Related Article

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.