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

Reinoud Koornstra reinoudkoornstra@gmail.com
Wed May 9 07:40:00 GMT 2018

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

On Wed, May 9, 2018 at 12:17 AM, Andreas Schwab <schwab@suse.de> wrote:
> On Mai 08 2018, Reinoud Koornstra <reinoudkoornstra@gmail.com> wrote:
>> ./configure -host=x86_64-linux-gnu --target=arm-linux-gnueabihf
>> configure: WARNING: If you wanted to set the --build type, don't use --host.
>>     If a cross compiler is detected then cross compile mode will be used.
> Use --build, not --host, or leave it out at all.
> Andreas.
> --
> Andreas Schwab, SUSE Labs, schwab@suse.de
> GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
> "And now for something completely different."

More information about the Gdb mailing list