-
Notifications
You must be signed in to change notification settings - Fork 78
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
Conflict with armmbed/formulae/arm-none-eabi-gcc #41
Comments
@ralphrmartin how did you install the arm-none-eabi-gcc? from here? https://github.com/osx-cross/homebrew-arm/ |
No, from ARM's own mbed pages: https://github.com/ARMmbed/homebrew-formulae/blob/master/arm-none-eabi-gcc.rb as I want to use the compiler with ARM's own mbed ecosystem. I have also reported the conflict to that maintainer. |
as there is no activity, I'm closing the issue. Feel free to reopen if needed |
This issue has not been addressed, but ignored. Please reopen it. The conflict still exists. |
unfortunately that is outside of our reach. What you can do is install avr-gcc@6 which is keg only or unlink avr-gcc. we've also changed the way avrlibc is built so it might have fixed the issue. have you tried recently? |
Yes, the problem still exists. At present, depending on whether I am developing for arm or avr, I have to unlink the other, and link the one I am using. Surely the solution is to put the libraries in a subdirectory, not directly into /usr/local/lib? |
that's exactly what I'm open to a fix, but really it seems like the fix would be easier on their side as they are only downloading prebuilt binaries while we are building everything from scratch. It's just a matter of copying the files in the right place and not in I don't have a lot of time and I'm not using them myself but I might at some point try to improve our version of arm: https://github.com/osx-cross/homebrew-arm/ -- (the current version has the same issue as their formula). You can create a pull request there. |
I'm currently looking into this. |
Corresponding issue: ARMmbed/homebrew-formulae#12 |
This has been solved on our end by not symlinking the |
thanks @niklas-arm! So how do you suggest we handle that? The same way as gcc does? |
Yes, I still recommend copying the gcc formula on this, it seems the most sensible option to me. An alternative would be to install the formula inside another prefix inside the Cellar to symlink only the |
@niklas-arm @ralphrmartin it has been fixed on our side. thanks for your help! 👍 |
Thanks for fixing this |
I already have arm-none-eabi-gcc installed. This causes a conflict when trying to install avr-gcc:
`==> Installing avr-gcc from osx-cross/avr
...
==> make install
Error: The
brew link
step did not complete successfullyThe formula built, but is not symlinked into /usr/local
Could not symlink lib/libcc1.0.so
Target /usr/local/lib/libcc1.0.so is a symlink belonging to arm-none-eabi-gcc. You can unlink it:
brew unlink arm-none-eabi-gcc
`
The text was updated successfully, but these errors were encountered: