ARMmbed / homebrew-formulae

homebrew ("the missing package manager for OS X") formulae from the mbed team.
Apache License 2.0
126 stars 39 forks source link

Does arm-none-eabi-gcc provide gdb, newlib, binutils? #24

Open kousu opened 5 years ago

kousu commented 5 years ago

In Arch, Debian, and the BSDs arm-none-eabi-* is packaged in separate chunks:

I downloaded https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/8-2018q4/gcc-arm-none-eabi-8-2018-q4-major-mac.tar.bz2 and unzipped it and found it does indeed include arm-none-eabi-objcopy, arm-none-eabi-objdump, arm-none-eabi-strings, arm-none-eabi-strings and all the rest of binutils, and even arm-none-eabi-gdb. I can't tell if it has newlib, there's a newlib.h, but the rest of the library doesn't seem to be there.

I see that the distros all mark binutils as a dependency of gcc, but they don't mark newlib or gdb, so maybe it's fair to shim binutils into this package, but I think it's confusing that gdb is here too; it would make more sense to me if this formula was named arm-none-eabi.rb instead of arm-none-eabi-gcc.rb to emphasize that it also pulls in gdb and maybe newlib.

Thanks for packaging this! I was using brew cask install gcc-arm-embedded but they removed it.