Hi,
On Thu, 6 May 1999, christophe leroy wrote:
> It works for me
> gcc should look for libs in /lib
>
Are you cross compiling shared libraries?
> Have you compiled glibc-2.1 ?
Yes.
> If yes where did you install it ?
It is installed in the same location as my cross-compiler, in this case,
/home/anubis9/linuxcomp.
> I did install it in /usr/local/arm
> Then, when you recompile egcs, tell it that libs are where they are
> (something like --with-libs=/usr/local/arm/lib)
>
This won't work, because the arm-linux-gcc -v -shared output of trying to
compile a shared library shows the following (Sorry for the messy look):
Reading specs from
/home/anubis9/linuxcomp/lib/gcc-lib/arm-linux/egcs-2.91.66/sp
ecs
gcc version egcs-2.91.66 19990325/philb (egcs-1.1.2 release)
/home/anubis9/linuxcomp/lib/gcc-lib/arm-linux/egcs-2.91.66/collect2
-shared -dy
namic-linker /lib/ld-linux.so.2 -X -m elf32arm -o libACE.so crti.o
/home/anubis9
/linuxcomp/lib/gcc-lib/arm-linux/egcs-2.91.66/crtbeginS.o
-L/home/anubis80/drtsc
p/mesteka/linux/tools/ACE_wrappers/build/linux/ace -L./
-L/home/anubis9/linuxcom
p/lib -L/home/anubis9/linuxcomp/lib/gcc-lib/arm-linux/egcs-2.91.66
-L/home/anubi
s9/linuxcomp/arm-linux/lib
It looks like it is trying to access /lib/ld-linux.so.2 to compile the
shared library. It actually complains that it cannot find crtsi.o,
which is in /home/anubis9/linuxcomp/lib. But that -L comes after crti.o
is listed. I haven't been successful in figuring this out.:(
> Then it should find you linux-arm glibc
>
> Or use -L/usr/local/arm/lib when you compile
>
This doesn't appear to work either, unfourtanetly.
--
Kyle Mestery
StorageTek's Storage Networking Group
Protect your right to privacy: www.freecrypto.org
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]