view doc/Toolchain-setup-gcc @ 192:4f40ae165be4

abb.c & init.c: sync with Magnetite for Luna additions These Luna target-specific additions are conditionalized on CONFIG_TARGET_LUNA, a C preprocessor symbol that will never be defined in Selenite, hence this change has exactly zero impact on FC Selenite. However, they are being pulled in as a sync in order to keep the diff between Magnetite and Selenite to a minimum; keeping this diff to a minimum increases our opportunities for possible evolution of future FC firmwares.
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 23 May 2020 07:03:46 +0000
parents cdbe920fd725
children
line wrap: on
line source

Building and installing the ARM7 toolchain
==========================================

Before you can compile FC Selenite with gcc, you first need to build and
install the necessary toolchain targeting ARM7, the CPU core in the Calypso.
The current "official" GNU ARM toolchain for FreeCalypso consists of
binutils-2.21.1, gcc-4.5.4 and newlib-2.0.0 with a specific set of patches and
build configuration options.  All of the necessary bits can be downloaded here:

ftp://ftp.freecalypso.org/pub/GSM/FreeCalypso/toolchain/

Please note: the toolchain that is prescribed for FreeCalypso as above is
*believed* to be equivalent to the one that was once used by OsmocomBB, but
there are no guarantees.  Use any other toolchain at your own risk.

There is also a prebuilt toolchain put together by FreeCalypso community
contributor Das Signal:

https://www.freecalypso.org/members/ds/fc-gnu-arm-i386-2.tgz
https://www.freecalypso.org/members/ds/fc-gnu-arm-x86_64-2.tgz