Difference between revisions of "Debian distro"

From IGEP - ISEE Wiki

Jump to: navigation, search
(GCC, G++, libc Cross Compiler)
Line 15: Line 15:
 
Now is time to install some packages if you want to build your own distribution.
 
Now is time to install some packages if you want to build your own distribution.
  
=== GCC, G++, libc Cross Compiler ===
+
===GCC, G++, libc Cross Compiler===
 +
You can install the cross compiler if you want to build u-boot, linux kernel or applications using your host PC and compile for IGEP board as target.
 +
 
 +
<pre>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
 +
</pre>
  
You can install the cross compiler if you want to build u-boot, linux kernel or applications using your host PC and compile for IGEPv5 as target.
 
<pre>sudo apt-get install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf libc6-dev-armhf-armel-cross libc6-armel-armhf-cross
 
</pre>
 
 
=== Build Ubuntu packages  ===
 
=== Build Ubuntu packages  ===
  

Revision as of 18:52, 21 October 2017

Overview

What we learn in this chapter? Install, play and fun with Debian distro ...


Host Enviroment

We suggest use Debian 9.02 (64 bits) in your host, you can download it from our server using this link or directly from debian website. You can install it in a Virtual Machine enviroment using any Virtualization software or directly in your PC.

After install is recommended update the package list with:

sudo apt-get update

Install Development packages

Now is time to install some packages if you want to build your own distribution.

GCC, G++, libc Cross Compiler

You can install the cross compiler if you want to build u-boot, linux kernel or applications using your host PC and compile for IGEP board as target.

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

Build Ubuntu packages

if you're idea is build ubuntu packages then you need install other packages

sudo apt-get install build-essential devscripts dh-make quilt autogen autoconf dh-autoreconf dh-buildinfo dh-make pkg-config

Pbuilder

A pbuilder environment is a chrooted environment which can have a different distroseries or architecture than your host system.

sudo apt-get install pbuilder pbuilder-scripts