-
Notifications
You must be signed in to change notification settings - Fork 204
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
Add GCC #105
Comments
Thanks for the App Request! Next, we'll need to have it next on Rosetta to or find a confirmation that someone already has |
We'll go with "✳️ Yes, runs via Rosetta 2" for now but leave this issue open until native ARM Support is released publicly |
This is ready to add to the list.
Feel free to make a pull request using the App Addition Template otherwise I'll add it when time permits. |
Just to add to this discussion, the GCC ARM Embedded (used for micro controllers and embedded devices) also works fine using rosetta. |
The gcc that ships with the command line tools is just a wrapper to clang. You should change your PATH variable to point to the new gcc installed by homebrew. Here's what I got by running
Macports has a native version of gcc for the devel branch (gcc 11)
|
@fabiojmendes Drop a screenshot for GCC ARM Embedded and we'll go ahead and add it to the list. Be sure to include the App, Activity Monitor showing the app details, and About this Mac so we can see the exact OS version. You can find an example on #358 |
Native support is still a work in progress. This repo tracks that: https://github.com/iains/gcc-darwin-arm64. |
For the arm-none-eabi version of GCC for building embedded stuff, I've got a working m1 build. https://github.com/SeanMollet/arm-none-eabi-gcc-aarch64-macosx |
@ThatGuySam I've got an M1 build for this specific gcc: https://doesitarm.com/app/gcc-arm-embedded/ Screenshot attached. |
Updated! https://doesitarm.com/app/gcc-arm-embedded/ Thanks for the screenshots @SeanMollet! |
Are GCC and GCC-ARM-embedded different products? |
@moffpage Do you know if GCC-ARM-embedded is Apple Silicon native yet? |
Um, the comment before mine literally updates the info on that regard: https://doesitarm.com/app/gcc-arm-embedded/ |
@moffpage GCC is the "GNU Compiler Collection", it comprises many, many compilers. There isn't currently one that can build things for MacOS arm. I built one that can build things for embedded arm devices that runs on MacOS arm. So, yes, GCC and GCC-ARM-Embedded are different "products". |
Thanks for clarifying! |
|
Here's my take: I made the necessary changes to get it to build on M1, documented them and built a binary with it. I make both the resulting binary and the requisite bits and documentation required for you to build it yourself available if you don't trust my binary. If we were talking about a consumer app, I would say the line belongs at "signed binary distributed by the author." But, we're talking about an embedded C compiler here. This is something used by people that know how to build software. So, having a repo available that builds and works correctly on M1 is probably sufficient. A pre-built binary bundle is a bonus. |
@SeanMollet, Thanks for your efforts and the answers. I resorted to building from source (with your instructions); not that I don't trust you, your binaries weren't signed. Perhaps you could sign future releases? I will wait for @ThatGuySam to answer 3/ then :) |
@sidcha I try to track against what most of the community and users of the specific software would consider "ARM Native" and not assume what I consider "ARM Native" is the same as the people who actually use the software. If people that use the software mostly build from source every time and that's working then yes. If people that use the software only get it through DMG or even the Mac App Store then I'll try to go off that. One example is OBS, there are "ARM Native" builds but Youtube and Twitch streamers wouldn't consider that fully native. Generally, if the software publisher distributes an ARM-compatible version it's likely considered "ARM Native" |
The official name of the app
GCC
Proposed App Status
Native - not yet.
Rosetta - no idea.
Related Issue Tracker Link or discussion
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96168
An Official App Download Link
https://gcc.gnu.org/
Additional context
The text was updated successfully, but these errors were encountered: