[MacPorts] #48543: arm-none-eabi-gcc: Enable multilib support for more processors
MacPorts
noreply at macports.org
Mon Aug 10 08:03:50 PDT 2015
#48543: arm-none-eabi-gcc: Enable multilib support for more processors
-------------------------+-------------------------------
Reporter: raimue@… | Owner: stuartwesterman@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Keywords: | Port: arm-none-eabi-gcc
-------------------------+-------------------------------
arm-none-eabi-gcc @5.1.0_1 only targets a few ARM processor profiles:
{{{
$ arm-none-eabi-gcc -print-multi-lib
.;
thumb;@mthumb
fpu;@mfloat-abi=hard
}}}
This patch enables a longer multilib list, adding support for more ARM
processors:
{{{
$ arm-none-eabi-gcc -print-multi-lib
.;
thumb;@mthumb
fpu;@mfloat-abi=hard
armv6-m;@mthumb at march=armv6s-m
armv7-m;@mthumb at march=armv7-m
armv7e-m;@mthumb at march=armv7e-m
armv7-ar/thumb;@mthumb at march=armv7
armv7e-m/softfp;@mthumb at march=armv7e-m at mfloat-abi=softfp at mfpu=fpv4-sp-d16
armv7e-m/fpu;@mthumb at march=armv7e-m at mfloat-abi=hard at mfpu=fpv4-sp-d16
armv7-ar/thumb/softfp;@mthumb at march=armv7 at mfloat-abi=softfp at mfpu=vfpv3-d16
armv7-ar/thumb/fpu;@mthumb at march=armv7 at mfloat-abi=hard at mfpu=vfpv3-d16
}}}
This should be closer to what the [https://launchpad.net/gcc-arm-embedded
gcc-arm-embedded] upstream provides. The additional patch for multilib
list support was taken from ArchLinux.
I also found patches in [http://anonscm.debian.org/cgit/collab-maint/gcc-
arm-none-eabi.git/tree/debian/patches Debian] taken from gcc-arm-embedded
containing more improvements. However, these are still targeting the 4.9
branch. I don't know if it would be worth to include these as well.
--
Ticket URL: <https://trac.macports.org/ticket/48543>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list