OS Specific Toolchain: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
m →‎crt0.S: Typo
→‎Prerequisites: Updated successful build versions and requirements
Line 4: Line 4:


= Prerequisites =
= Prerequisites =
* The latest binutils, gcc-core and newlib packages, and optionally gcc-g++. This tutorial was developed with binutils-2.18, gcc-4.2.1 and newlib-1.15.0, and has recently been tested on binutils-2.22 and gcc-4.7.0.
* The latest binutils, gcc-core and newlib packages, and optionally gcc-g++. This tutorial was developed with binutils-2.18, gcc-4.2.1 and newlib-1.15.0, and has recently been tested on binutils-2.22 and gcc-4.7.0, and again on binutils-2.23 and gcc-4.7.2 using newlib-2.0.0.
* A build environment that can successfully build a [[GCC Cross-Compiler]]. This tutorial was developed with Cygwin and ubuntu 12.04.
* A build environment that can successfully build a [[GCC Cross-Compiler]]. This tutorial was developed with Cygwin and ubuntu 12.04.
* Autoconf, automake, autoreconf, libtool.
* Autoconf, automake, autoreconf, libtool.
* The os you are targeting should be able to handle syscalls, with a well defined interface.
* The os you are targeting should be able to handle syscalls, with a well defined interface.
* Knowledge of the internals of binutils, gcc and newlib, along with a working knowledge of autoconf and automake.
* Knowledge of the internals of binutils, gcc and newlib, along with a working knowledge of autoconf and automake.
* Depending on your version of gcc, you may also need gmp, mpfr and mpc.


= Preparation =
= Preparation =