Alexandre Oliva wrote:
> 
> On Jul 19, 2000, Paul Berrevoets <[EMAIL PROTECTED]> wrote:
> 
> > On Solaris, libtool does not allow me to do the following:
> >> /bin/sh ../libtool --mode=link gcc  -g -O2  -o libfoo.la  -rpath
> > /usr/local/lib foo.lo /usr/local/lib/libbar.a
> > libtool: link: cannot build libtool library `libfoo.la' from non-libtool
> > objects: /usr/local/lib/libbar.a
> 
> Libtool is right.  It can't be done portably, so libtool won't do it
> for you.

  I asked the same question a while back, and got pretty much the same
answer.  The question that I have is, "where" is this not done
portable?  I have worked around the libtool to force static libraries
into shared libraries, and I drop those static stuffed shared libraries
onto our other machines (Solaris), and they work just fine.  So I'd say,
Libtool is only partly right.  Libtool really should provide a warning,
and not remove those static libraries.

-- 
Chris
[EMAIL PROTECTED]
206.902.2815

Reply via email to