BRN:Software:Build and Distribution:Compiler

From
Revision as of 08:43, 5 September 2006 by Jeschke (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

The first challange to get the BRN software for a new target platform you have to build a (cross) compiler.
A compiler translates a high-level programming language, like C or C++ into binary code for execution on the target platform's CPU.
We will need a GCC (GNU Compiler Collection/GNU C Compiler) with support for the C and C++ programming languages to build the Linux kernel and the click modular router.
A cross compiler generates code for another platforms than it is running on. (e.g. a MIPS cross compiler running on an x86 Linux Workstation)

Search for ready-to-use toolchains

There are many projects supporting Linux on embedded platforms (e.g. MIPS, ARM, PPC or M68k) and they published toolchains to get a (cross) compiler in a simple manner. An active project is OpenWrt.