GCC-LINARO-ARM-LINUX-GNUEABIHF Cross compiler configuration

Source: Internet
Author: User

System Ubuntu14.04

Version: GCC version 4.7.3 20130328 (prerelease) (Crosstool-ng Linaro-1.13.1-4.7-2013.04-20130415-linaro gcc 2013.04)

Specific configuration similar to other compilers: Arm-fsl-linux-gnueabi Cross compiler installation

Not specifically.

After matching, error Libstdc++.so.6:cannot open shared object file:no such file or directory.

Online will say directly install 32-bit libstd32c++6

sudo apt-get install lib32stdc++6

Install times wrong:

Lib32stdc++6: Dependent: lib32gcc1 (>= 1:4.1.1) but it will not be installed E: cannot correct the error .....

Solution:

Sudoaptitude -f install lib32stdc++6

If not aptitude first install Apt-get

He will provide you with a solution, the first plan to keep the current

 

The following "new" packages will be installed. Lib32gcc1{ab} lib32stdc++6 0A package is upgraded, a new installation2A0will be deleted, while212will not be upgraded. Need to get309KB of archiving. will be used after unpacking1,338KB. An unsatisfied dependency exists for the following packages: Lib32gcc1: dependency: gcc-4.9-Base(=4.9-20140406-0UBUNTU1) but4.9.3-0ubuntu4 is installed. The following actions will resolve these dependencies: keep the following packages in their current version:1) LIB32GCC1 [not installed]2) lib32stdc++6[not installed] accept this solution? [Y/n/q/?] N

Second option downgrade after n selection

The following actions resolve these dependencies: demote the following packages:1) gcc-4.9-Base[4.9.3-0ubuntu4 (now)4.9-20140406-0UBUNTU1 (trusty)]2) LIBGCC1 [1:4.9.3-0ubuntu4 (now)1:4.9-20140406-0UBUNTU1 (trusty)] Do you accept this solution? [Y/n/q/?] Y The following packages will be "degraded": gcc-4.9-BaseLIBGCC1 The following "new" packages will be installed. Lib32gcc1{a} lib32stdc++6 0A package is upgraded, a new installation2A2A downgrade,0will be deleted, while212will not be upgraded. Need to get362KB of archiving. will be used after unpacking1,328KB. Do you want to continue? [Y/n/?] Y

GCC-LINARO-ARM-LINUX-GNUEABIHF Cross compiler configuration

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.