[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ARM Cross Compilation Problem with Shared Libraries
From: |
Andrés Moré |
Subject: |
Re: ARM Cross Compilation Problem with Shared Libraries |
Date: |
Thu, 15 Sep 2005 09:35:46 -0300 |
Ralf,
Thanks a lot for your help.
As usual, the problem was between the display and the seat (me).
My solution was to copy the flags used by the Linux kernel when compiling.
Just "make V=1".
The correct flag is -Wa,-txscale
Regards, Andrés
On 9/14/05, Ralf Wildenhues <address@hidden> wrote:
> * 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
>