I try to build GDB for arm, to upload it inside antminer s9 firmware. I have installed the package arm-linux-gnueabihf, it was installed by default in /usr/bin So when i type arm-linux-gnueabihf-gcc -v
i see correct output.
I have downloaded gdb 8.2 sources from official repository, however i'm failing to build it:
./configure --target=arm-linux-gnueabihf --host=arm-linux-gnueabihf
Gives errors like this:
Checking build system type... configure error: cannot guess build type; you must specify one
The value "--build=x86_64-unknown-linux-gnu" i found in google doesn't seem to work. It produces an error:
invalid value of canonical build
What do I put in build?