That can only happen because the linker didn't find a libc in your first -L
directory. Fix that, that's your real problem.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:libtool-admin@;gnu.org]On Behalf Of
> Frederic Gobry
> Sent: Thursday, October 24, 2002 3:53 AM
> To: [EMAIL PROTECTED]
> Subject: Re: library relocation
>
>
> > We have this same need when building our software. I've
> hacked our version of
> > libtool  to support this feature:
>
> I've applied your patch (by hand), and my compilation line is
> transformed like that:
>
> -L/home/fred/external/build/frozen/glib/arm-linux-any-any/usr/
> lib -lglib-2.0
>
> ...becomes..
>
> -L/home/fred/external/build/frozen/glib/arm-linux-any-any/usr/
> lib -L/usr/lib -lglib-2.0
>
> But it seems that due to the -L/usr/lib, the linker takes the libc
> from the wrong platform again...
>
> Frédéric
>
> --
> Frédéric Gobry    SMARTDATA
>       ---         http://www.smartdata.ch
> Software Engineer Lausanne - Switzerland
>                   +41 21 693 84 98
>
>



_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to