Issue building Linaro GDB for aarch64 on x86_64 host

Viewed 2082

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

  1. CC=aarch64-linux-gnu-gcc
  2. ./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

1 Answers
Related