Skip to content

Script for building a gcc cross-compiler for Cortex-M under MinGW.

Notifications You must be signed in to change notification settings

dibalavs/arm-none-eabi-gcc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

GCC is a great tool-chain for ARM Cortex-M3 architecture embedded projects. It is a pain to set up if you are stuck on a Windows PC. Mentor Graphics provides an ARM build of GCC. Embedded systems often require customization to details like heap allocation and C++ exceptions. This project is a bash script for building a GCC cross-compiler on a MinGW host. The compiler targets arm-non-eabi with the thumb2 instruction set. This configuration is used for development on the ARM Cortex-M3 architecture.

To use this script:

  1. git clone [email protected]:joshuanapoli/arm-none-eabi-gcc.git
  2. cd arm-none-eabi-gcc
  3. ./build-arm-none-ebai-gcc

By default, the compiler will be installed under /opt/gnu/gcc-4.7.2. You may want to customize the installation path and versions at the beginning of the script. Try restarting the build if it fails to commit memory from the "cygwin heap".

About

Script for building a gcc cross-compiler for Cortex-M under MinGW.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%