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

Reinoud Koornstra <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAAA5faFOkxyiXgqNWeh1RynCBwotF1bTLuA892-7YvY578=GSA@mail.gmail.com>
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 <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.