Ubuntu also ushered in its new generation of long-term support version 14.04 LTS, which brought a lot of new and exciting, so decided to upgrade.
Installed the 64-bit version and install the Linux cross-compilation toolchain
Run Gcc,${cross_compile}gcc-v
The classic "No file or directory" hint will still be prompted.
Based on previous experience, for the 64-bit version of Ubuntu we need to install the "Ia32-libs" dependent library.
Then enter:
sudo apt-get install Ia32-lib
But you are not prompted to check the goods?
ubuntu 14.04 forced installation ia32-libs
Refer to ubuntukylin.com wuy069 solutions
1. Switch to root permissions
Sudo-i
2. Go to Apt source list
Cd/etc/apt/sources.list.d
3. Add Ubuntu 13.04 Source because the next version of 13.10 is obsolete ia32-libs
echo "Deb http://archive.ubuntu.com/ubuntu/raring main restricted universe Multiverse" > Ia32-libs-raring.list
4. Update source and install Ia32-libs
Apt-get Update
Apt-get Install Ia32-libs
5. Recovery source
RM ia32-libs-raring.list
Apt-get Update
Finally, let's reinstall the Linux cross-compiler toolchain.
[Email protected]:/home/gli/my-imx6# cd 02tools/
[Email protected]:/home/gli/my-imx6/02tools# Source Gcc-linaro-arm-linux-gnueabihf-492-env
[Email protected]:/home/gli/my-imx6/02tools# ${cross_compile}gcc-v
This allows you to see the GCC version, which means that the Linux cross-compilation tool chain is installed.
64-bit ubuntu14.04 LTS installs the Linux cross-compiler toolchain and 32-bit "ia32-libs" dependent libraries