Does arm-none-eabi-gcc provide gdb, newlib, binutils?
kousu opened this issue · 0 comments
In Arch, Debian, and the BSDs arm-none-eabi-*
is packaged in separate chunks:
- https://www.archlinux.org/packages/?q=arm-none-eabi
- arm-none-eabi-binutils
- arm-none-eabi-gcc
- arm-none-eabi-gdb
- arm-none-eabi-gdb
- https://packages.debian.org/search?keywords=arm-none-eabi&searchon=names&suite=stretch§ion=all
- binutils-arm-none-eabi
- gcc-arm-none-eabi
- gcc-arm-none-eabi-source
- gdb-arm-none-eabi
- libnewlib-arm-none-eabi
- libstdc++-arm-none-eabi-newlib
- (and there's also
- https://www.freebsd.org/cgi/ports.cgi?query=arm-none-eabi&stype=all&sektion=all
- arm-none-eabi-binutils
- arm-none-eabi-gcc
- arm-none-eabi-gcc492
- arm-none-eabi-gdb
- arm-none-eabi-newlib
- http://openports.se/devel/arm-none-eabi (OpenBSD)
- arm-none-eabi-binutils
- arm-none-eabi-gcc-linaro
- arm-none-eabi-gdb
- arm-none-eabi-newlib
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.