Difference between revisions of "Toolchain"

From ArmadeusWiki
Jump to: navigation, search
m (Window$ installation)
m (Recommended System Requirements)
Line 14: Line 14:
  
 
==Recommended System Requirements==
 
==Recommended System Requirements==
* HD free space: at least 2GB
+
* HD free space: at least 3GB
 
* 1Go RAM is preferable
 
* 1Go RAM is preferable
 
* 2GHz processor with a 533MHz FSB
 
* 2GHz processor with a 533MHz FSB

Revision as of 18:22, 7 December 2008

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 / Busybox: "swiss knife" of the embedded Linux
  • GCC: GNU C compiler
  • GDB: GNU debugger
  • RootFS: root filesystem. Filesystem 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
  • 1Go 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)