Difference between revisions of "Toolchain"

From ArmadeusWiki
Jump to: navigation, search
m (Recommended System Requirements)
m (Lexical)
Line 7: Line 7:
 
==Lexical==
 
==Lexical==
 
* Binutils: several GNU utilities to generate executable files
 
* Binutils: several GNU utilities to generate executable files
* Buildroot / Busybox: "swiss knife" of the embedded Linux
+
* [http://buildroot.uclibc.org/ Buildroot]: set of Makefiles that allow to entirely build embedded Linux systems
* GCC: GNU C compiler
+
* [http://www.busybox.net/ Busybox]: "swiss knife" of the embedded Linux (regroup many common programs in one executable)
 +
* [http://gcc.gnu.org/ GCC]: GNU C compiler
 
* GDB: GNU debugger  
 
* GDB: GNU debugger  
* RootFS: root filesystem. Filesystem which will be installed on your target and used by Linux as root ("/") mountpoint.
+
* rootfs (root filesystem): filesystem image which will be installed on your target and used by Linux as root ("/") mountpoint.
* U-Boot: Bios / Bootloader
+
* [http://www.denx.de/wiki/U-Boot U-Boot]: Bios / Bootloader
  
 
==Recommended System Requirements==
 
==Recommended System Requirements==

Revision as of 11:47, 2 February 2009

How-To install Armadeus Software Development Kit for Linux/Window$

Forewords

Before writing your first program or changing some of your system's utilities, you will need to build the required tools to compile them on your Host system (cross compilation). The GNU toolchain will be used.

Lexical

  • Binutils: several GNU utilities to generate executable files
  • Buildroot: set of Makefiles that allow to entirely build embedded Linux systems
  • Busybox: "swiss knife" of the embedded Linux (regroup many common programs in one executable)
  • GCC: GNU C compiler
  • GDB: GNU debugger
  • rootfs (root filesystem): filesystem image which will be installed on your target and used by Linux as root ("/") mountpoint.
  • U-Boot: Bios / Bootloader

Recommended System Requirements

  • HD free space: at least 3GB
  • 1GB RAM is preferable
  • 2GHz processor with a 533MHz FSB
  • High speed Internet connection (1Mbits)

With these settings, you will get a complete toolchain, Linux and the RootFS in about 1h30.

Linux installation

Toolchain installation on Linux systems

Window$ installation

After a performance test with VMWare, it is clear that Cygwin won't be supported anymore. We have observed quite a factor 2 in terms of compilation improvements with VMWare

  • What is VMWare ?: it is a virtualization tool able to run a standard Linux distrib on a native Windows system or Windows on a Linux native system.
  • VMWare player is free. VMWare desktop (used to create the first virtual system) is available for evaluation. You need it only one time.

Be aware that VMWare will require more disk space than cygwin, because a complete Linux distribution will be installed. So on Window$ you just have to install VMWare (or VirtualBox if you prefer), install a Linux distribution on it, and then follow LinuxInstall.


Windows installation with Cygwin (no more used)