I downloaded the gdb sources from https://launchpad.net/gdb-linaro/.
I want to build the gdb for aarch64.
As mentioned in README file I set CC to the cross compiler that I have
- CC=aarch64-linux-gnu-gcc
- ./configure --host=aarch64
However this doesn't seem right as this sets the target to "aarch64-unknown-none"
And later make fails as below *** BFD does not support target aarch64-unknown-none.
I am not sure how to pass the correct target name required to cross compile gdb on my system.
Any suggestions will help! :)
Thanks,
MS