# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup crossgcc 1.0 set gccversion 14.2.0 set newlibversion 4.3.0.20230120 crossgcc.setup arm-none-eabi ${gccversion} crossgcc.setup_libc newlib ${newlibversion} revision 0 maintainers {judaew @judaew} openmaintainer depends_build-append \ bin:makeinfo:texinfo # specific to ARM configure.args-append \ --enable-interwork \ --disable-newlib-supplied-syscalls \ --with-multilib-list=rmprofile # 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 }