macOS/Windows support
Opened this issue · 6 comments
Hello!
I was just wondering if you had any plans on supporting macOS and/or Windows in the future?
@Kernald Thanks for reaching out. I will put your question on the agenda for our next team meeting.
From https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/gcc.rb it seems like the toolchain for MacOS could be obtained via https://ftp.gnu.org/gnu/gcc/ and mirror at https://ftpmirror.gnu.org/gcc/
I had plans to support macOS next, especially because we want to use it to do cross-compilation from macOS to Linux (cough cough containers).
@sluongng we already build GCC as part of building the custom sysroot in https://github.com/aspect-build/gcc-toolchain/blob/3365b1abbfbd2f8565147f80d3d9ba309478360e/sysroot/Dockerfile. I have plans to swap the bootlin toolchains by the ones we build there. This will pave the way to build GCC for macOS next and have the same workflow for providing the entire toolchain.
As for Windows, it's a much lower priority for us, so I don't see it getting any attention unless we see someone wanting to fund the effort.
(sorry, closed by accident)
Currently, working on a similar issue. What would it take to support MacOS?
I think it only makes sense to add macOS support if it also supports cross-compilation to Linux. We need to build the GCC toolchain for macOS and tweak some assumptions I made while developing this repo for Linux.
We could take a bounty for this feature as a medium-sized effort under https://opencollective.com/aspect-build/projects/gcc-toolchain.