[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ARM Cross Compilation Problem with Shared Libraries
From: |
Ralf Wildenhues |
Subject: |
Re: ARM Cross Compilation Problem with Shared Libraries |
Date: |
Wed, 14 Sep 2005 17:04:02 +0200 |
User-agent: |
Mutt/1.4.1i |
* Ralf Wildenhues wrote on Wed, Sep 14, 2005 at 03:21:57PM CEST:
> * Andrés Moré wrote on Wed, Sep 14, 2005 at 02:19:58PM CEST:
> >
> > So, after configuring, when I type "make":
> >
> > arm-linux-gnueabi-gcc -shared .libs/xld_lib.o -mbig-endian
> > -Wl,-soname -Wl,libxld_lib.so.0 -o .libs/libxld_lib.so.0.0.0
> > /home/linux/toolchain/xscale_be/bin/../lib/gcc/arm-linux-gnueabi/3.4.4/../../../../arm-linux-gnueabi/lib/libgcc_s.so:
> > could not read symbols: File in wrong format
>
> Libtool removes some flags from the link line it doesn't understand
> You may be able to work around this by using
> LDFLAGS=-Wl,-txscale
> either during the configure or the make step.
That should've probably been
LDFLAGS=-Wc,-txscale
Sorry,
Ralf