This shows you the differences between two versions of the page.
manual:demos:gcc_arm_embedded [2016/04/30 18:40] voorburg |
manual:demos:gcc_arm_embedded [2019/09/24 22:12] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Upgrading from Codesourcery G++ Lite to the GCC ARM Embedded toolchain ====== | ||
- | ===== Background ===== | ||
- | For several years Codesourcery (now Mentor Graphics) maintained and released the GCC for ARM compiler binaries, bundled with an easy to use installer, under the name //Codesourcery G++ Lite//. Unfortunately, their website now states that "Sourcery CodeBench Lite releases for ARM EABI, ARM GNU/Linux, ARM AARCH64-Linux, IA32/IA64 GNU/Linux and ELF are no longer available". | ||
- | |||
- | Fortunately, the ARM organization itself is actively maintaining and enhancing the GCC compiler for the ARM architecture. At regular intervals they release pre-built binaries of the toolchain under the name [[https://launchpad.net/gcc-arm-embedded|GCC ARM Embedded]]. | ||
- | |||
- | Several OpenBLT demo programs that target microcontrollers with an ARM core, make use of the //Codesourcery G++ Lite// toolchain. You can still find a download link to a working version of the toolchain on the page that describes the demo specifics. However, is it recommended to switch to the //GCC ARM Embedded// toolchain. | ||
- | |||
- | This page describes how to upgrade from the //Codesourcery G++ Lite// to the //GCC ARM Embedded// toolchain, to the point that you can build the OpenBLT demo programs without any further changes. | ||
- | |||
- | ===== Upgrade procedure ===== | ||
- | |||
- | ==== Step 1 - Uninstall Codesourcery G++ Lite ==== | ||
- | Open your Windows Explorer and browse to directory C:\Users\{username}\MentorGraphics\Sourcery_CodeBench_Lite_for_ARM_EABI\uninstall and double-click the program uninstall.exe. | ||
- | |||
- | ==== Step 2 - Download and install GCC ARM Embedded ==== | ||
- | Visit the [[https://launchpad.net/gcc-arm-embedded|GCC ARM Embedded]] website and download the Windows installer. The filename is something like //gcc-arm-none-eabi-5_3-2016q1-20160330-win32.exe//, although the version number and release date in the filename might be different. | ||
- | |||
- | Starts the installation by double-clicking the file you just downloaded. | ||
- | |||
- | TODO | ||
- | * Uninstall G++ Lite. | ||
- | * Download GCC ARM Embedded | ||
- | * Install GCC ARM Embedded with path option checked! | ||
- | * Download gnu win32 build binaries zip-archive | ||
- | * Copy zip-archive contents to the GCC ARM Embedded bin directory |