Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

Ubuntu 16.04 LTS Toolchain

1,002 bytes added, 10:05, 9 March 2018
Created page with "==Before start== * Download and install Ubuntu 16.04 LTS ==Install the Toolchain== Before use the toolchain you need download and install it on your machine, you can do it wi..."
==Before start==
* Download and install Ubuntu 16.04 LTS

==Install the Toolchain==
Before use the toolchain you need download and install it on your machine, you can do it with this command:

$ sudo apt-get install gcc-arm-linux-gnueabi gcc-arm-linux-gnueabihf g++-arm-linux-gnueabi g++-arm-linux-gnueabihf libc6-armel-cross libc6-armhf-cross libc6-dev-armhf-cross libc6-dev-armel-cross crossbuild-essential-armel crossbuild-essential-armhf qemu qemu-user-static binfmt-support build-essential
==Setup Multiarch==
It's recommended use Multiarch for add the headers, libraries that you can need for build ARM applications or libraries.

Add ARM hard float arch:

$ dpkg --add-architecture armhf
Modify apt sources and include arch repos:

<pre>deb [arch=i386,amd64] http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports/ xenial main restricted</pre>
Note: armel is not provided in ubuntu 16.04 if you needed we suggested use debian stretch.