Get all versions of GCC working on Apple ARM systems. #249
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This just takes the changes that we did to avr-gcc@11 for ARM support and applies them to all the other GCC versions.
The patch I used for GCC 11 happens to work for all the other versions, and I tested that it is at least necessary for GCC 9. I assume it is necessary for all the other versions too.
I did not test this pull request out on any hardware, but after installing the formulas successfuly on an M1 Mac Mini, I ran these commands successfully:
I also used commands like
diff -ur avr-gcc@11.rb avr-gcc@9.rbto make sure that I remembered to apply all the changes.And I added GCC 11 and GCC 5 to the README since it seems like they were missing.