Building GNU Arm Embedded Toolchain for macOS/arm64
Iain Sandoe
iain@sandoe.co.uk
Tue Nov 2 15:34:49 GMT 2021
Hi Romain
> On 2 Nov 2021, at 13:09, Romain Goyet via Gcc-patches <gcc-patches@gcc.gnu.org> wrote:
> Arm distribute pre-built versions of GCC that targets bare-metal Cortex-M
> devices at
> https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm
> I have written a few small patches to get this toolchain to build and run
> on macOS/arm64. Should I submit them somewhere?
The work to implement Arm64 on macOS is on-going (prototype is here:
https://github.com/iains/gcc-darwin-arm64)
The patches for host-side support are mostly ready (probably your patches will be
quite similar to those on the prototype, but if there’s something extra we’ve missed so far
please feel free to post them to this list - please cc me).
I am hoping to get the host-side stuff into master first (and reasonably soon).
thanks
Iain
main host-side support:
https://github.com/iains/gcc-darwin-arm64/commit/af097efc24a72c005756b05f65f0f450e41340ed
+ next four patches (deals with the fact that Arm64-darwin cannot use PCH).
driver:
https://github.com/iains/gcc-darwin-arm64/commit/5757cced1e1c8d4f0ec5458b9af7154d694e400b
ada host-side tools.
https://github.com/iains/gcc-darwin-arm64/commit/c16becf974da73646eb7b5e356323ffa4a585b21
More information about the Gcc-patches
mailing list