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