[EMAIL PROTECTED] wrote:

> Hi,
>
> I was wondering if it is possible to cross-compile shared libraries?
> After playing around with attempting to do it yesterday, it looks like
> it isn't, since using gcc -shared seems to want to invoke /lib/ld-so.2.1,
> which doesn't exist on the platform I am using to cross-compile with (I
> am going from Solaris-2.5.1 to Linux/ARM).  Can anyone confirm that this
> won't work?  Thanks!
>

It works for me
gcc should look for libs in /lib

Have you compiled glibc-2.1 ?
If yes where did you install it ?
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)

Then it should find you linux-arm glibc

Or use -L/usr/local/arm/lib when you compile

Christophe

unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to