I'm currently building Binutils 2.32 for the armv7l-unknown-linux-gnueabihf target, with this configure
command:
chronos@localhost ~/Downloads/tarballs/binutils-2.32 $ ./configure --prefix=/usr/local/opt/arm-cross --target=armv7l-unknown-linux-gnueabihf --enable-shared --enable-host-shared --disable-static --enable-plugins --enable-gold=default --enable-ld --with-system-zlib
I ran make -j3 && make install
, and no errors occured.
However, when I added /usr/local/opt/arm-cross/bin
to my path and ran armv7l-unknown-linux-gnueabihf-objdump
, this error occured:
armv7l-unknown-linux-gnueabihf-objdump: can't set BFD default target to `armv7l-unknown-linux-gnueabihf': invalid bfd target
How do I fix this? I searched on Stack Overflow and Google and couldn't come up with anything.