64-bit ubuntu14.04 LTS installs the Linux cross-compiler toolchain and 32-bit "ia32-libs" dependent libraries

Source: Internet
Author: User
Tags imx6

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

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.