--host=x86_64-linux-gnu --target=arm-linux-gnueabihf

Reinoud Koornstra reinoudkoornstra@gmail.com
Thu May 10 00:20:00 GMT 2018


Ah thanks, that worked.
I earlier build gdb for arm that also runs on arm itself.
That's why it likely was giving errors, I deleted the dir and
extracted again, worked like a charm.
Thanks,

Reinoud.

On Wed, May 9, 2018 at 6:36 AM, Joel Brobecker <brobecker@adacore.com> wrote:
>> I get the same result if I only do
>> ./configure --target=arm-linux-gnueabihf
>>
>> It always faults at
>>
>> /usr/bin/ld: libsim.a(arminit.o): Relocations in generic ELF (EM: 40)
>> libsim.a: error adding symbols: File in wrong format
>> collect2: error: ld returned 1 exit status
>> make[3]: *** [run] Error 1
>
> Try starting from scratch. It looks like these files were compiled
> with a compiler for another platform.
>
> --
> Joel



More information about the Gdb mailing list