My issues here led to the solution/new problem that I naively built the external library I am using for my host machine.
Thus of course arm-none-eabi-gcc
compiler throws a fit when it meets elf32-i386
object files.
I originally built the library using:
./configure
make && make check
make install
So, now I thought I might be able to simply do:
make clean
./configure --host=arm-none-eabi
make && make check
make install
to fix it. Sadly mistaken.
I also tried --build=x86
but it seems this is auto-detected anyway.
CC=arm-none-eabi
also seemed to have no effect.
What do I need to do in order to be able to build this library for linking when compiling with arm-none-eabi-gcc
?