Comments (6)
@Kernald Thanks for reaching out. I will put your question on the agenda for our next team meeting.
from gcc-toolchain.
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.
from gcc-toolchain.
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/
from gcc-toolchain.
(sorry, closed by accident)
from gcc-toolchain.
Currently, working on a similar issue. What would it take to support MacOS?
from gcc-toolchain.
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.
from gcc-toolchain.
Related Issues (20)
- [Bug]: Build fails for .s assembly files HOT 1
- [Bug]: C compilation breaks when using gcc 12 HOT 3
- [Bug]: libstdc++ is not bundled HOT 1
- [Bug]: Headers present in the sysroot but not available in the bazel sandbox HOT 1
- [Bug]: Keeping `--cpu=k8` on macos throws `does not contain a toolchain for cpu 'k8'`. Removing the cpu flag breaks cross-platform caching for remote builds with the same remote_host architecture. HOT 1
- [Bug]: `gcc_toolchain` parameters like `includes` replaces all items instead of being extras as documented HOT 1
- Why build sysroot from source code HOT 2
- [FR]: can copts come after extra_cxxflags?
- [Bug]: aarch64 target failing HOT 2
- [Bug]: Hermetic GCC toolchain and @io_bazel_rules_go produce warnings building debug-mode shared libraries HOT 1
- [Bug]: incompatible_sandbox_hermetic_tmp (on by default in bazel 7.0.0) breaks the gcc wrapper HOT 1
- Moving from aspect-build to f0rmiga broke builds HOT 2
- Upload tarballs with every release HOT 1
- Unable to use gcc-toolchain with configure_make HOT 1
- Fill in readme and user documentation HOT 2
- Rename master branch to main
- How to achieve better build performance? HOT 11
- WORKSPACE snippet to use gcc-toolchain HOT 3
- Error during bazel build: cannot find /usr/lib/libc.so.6 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gcc-toolchain.