Closed ubidefeo closed 7 years ago
same issue here with gcc 7, on a project that compiles correctly on Arch with the same avr-gcc version
you need to recompile avrlibc for each avr version.
this is fixed in branch https://github.com/osx-cross/homebrew-avr/tree/update-7.1-6.4
will merge soon to master
Having the problem right now. How can I use the update-7.1-6.4 version?
@codmpm navigate to /usr/local/Homebrew/Library/Taps/osx-cross/homebrew-avr/
and switch branch
Thank you!
But sadly I only have a master branch:
@codmpm i just merge the changes, brew update should pull them and it should work. if not untap and tap again ;)
and as for only seeing the master branch, I had the same issue, you need to:
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
fixed it for me :)
That did the trick - thank you!
Sorry to bother you again... but I think I've messed something up:
oh sorry! I have to update the readme. You just need to run brew install avr-gcc
:)
but as said, it is now merged in master, so no need to switch branches.
It is working from master. Thank you so much!
just updated but had to
brew switch avr-gcc 6.3.0
to have my code compile again.