Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS/Windows support #93

Open
Kernald opened this issue Sep 26, 2022 · 6 comments
Open

macOS/Windows support #93

Kernald opened this issue Sep 26, 2022 · 6 comments
Labels
enhancement New feature or request funding needed Contribute to https://opencollective.com/aspect-build help wanted Aspect isn't prioritizing this, but the community could windows Specific to Windows

Comments

@Kernald
Copy link

Kernald commented Sep 26, 2022

Hello!

I was just wondering if you had any plans on supporting macOS and/or Windows in the future?

@cgrindel cgrindel added question This issue is a question. Close the loop with documentation? need: discussion labels Sep 28, 2022
@cgrindel
Copy link

cgrindel commented Oct 3, 2022

@Kernald Thanks for reaching out. I will put your question on the agenda for our next team meeting.

@sluongng
Copy link

sluongng commented Oct 4, 2022

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/

@f0rmiga
Copy link
Owner

f0rmiga commented Oct 4, 2022

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.

@f0rmiga f0rmiga closed this as completed Oct 4, 2022
@f0rmiga f0rmiga reopened this Oct 4, 2022
@f0rmiga
Copy link
Owner

f0rmiga commented Oct 4, 2022

(sorry, closed by accident)

@f0rmiga f0rmiga added need: funding and removed question This issue is a question. Close the loop with documentation? need: discussion labels Oct 4, 2022
@cgrindel cgrindel added help wanted Aspect isn't prioritizing this, but the community could enhancement New feature or request and removed prioritized labels Oct 4, 2022
@Aarif123456
Copy link

Currently, working on a similar issue. What would it take to support MacOS?

@f0rmiga
Copy link
Owner

f0rmiga commented Nov 21, 2022

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.

@gregmagolan gregmagolan added funding needed Contribute to https://opencollective.com/aspect-build and removed need: funding labels Feb 6, 2023
@gregmagolan gregmagolan moved this to 📋 Backlog in Open Source Feb 6, 2023
@gregmagolan gregmagolan added the windows Specific to Windows label Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request funding needed Contribute to https://opencollective.com/aspect-build help wanted Aspect isn't prioritizing this, but the community could windows Specific to Windows
Projects
None yet
Development

No branches or pull requests

6 participants