gcc 4.5.0 x86_64 host targeting armv5tel library issue
Andy Green
andy@warmcat.com
Tue Aug 3 09:40:00 GMT 2010
On 08/03/10 09:51, Somebody in the thread at some point said:
> $ armv5tel-redhat-linux-gnueabi-gcc hello.c
> /usr/bin/armv5tel-redhat-linux-gnueabi-ld: skipping incompatible
> /usr/lib/gcc/armv5tel-redhat-linux-gnueabi/4.5.0/libgcc.a when searching
> for -lgcc
I looked into the binutils sources around the error and narrowed it down
to a problem with the archive architecture being "unknown" apparently.
At least with this -->
armv5tel-redhat-linux-gnueabi-gcc hello.c -Wl,--accept-unknown-input-arch
it's able to advance to complaining about the (legitimate) lack of libc.
-Andy
More information about the Gcc-help
mailing list