# $Id: Portfile 141182 2015-10-12 00:05:23Z jeremyhu@macports.org $ PortSystem 1.0 PortGroup crossgcc 1.0 PortGroup compiler_blacklist_versions 1.0 crossgcc.setup arm-none-eabi 5.1.0 crossgcc.setup_libc newlib 1.20.0 revision 1 maintainers gmail.com:stuartwesterman openmaintainer checksums gcc-${version}.tar.bz2 \ rmd160 17a9623f384ce10415a603042e0592c9b4956078 \ sha256 b7dafdf89cbb0e20333dbf5b5349319ae06e3d1a30bf3515b5488f7e89dca5ad \ newlib-${crossgcc.libc_version}.tar.gz \ sha1 65e7bdbeda0cbbf99c8160df573fd04d1cbe00d1 \ rmd160 e36c5337a74633456b47d09594974c7dd7a9cc3e # specific to ARM configure.args-append --enable-interwork --disable-newlib-supplied-syscalls # Failed to build with clang from Xcode 4.5 # fatal error: error in backend: ran out of registers during register allocation compiler.blacklist {clang >= 421 < 422} # GCC's arm target code contains bracket nesting exceeding clangs's default # bracket limit. (https://llvm.org/bugs/show_bug.cgi?id=19650) if {[string match "*clang*" ${configure.compiler}]} { configure.cflags-append -fbracket-depth=512 configure.cxxflags-append -fbracket-depth=512 }