[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: static libraries



>>>>> "GOMBAS" == GOMBAS Gabor <gombasg@inf.elte.hu> writes:

    GOMBAS> On Fri, Oct 06, 2000 at 03:02:23PM +1100, Brian May wrote:
    Johan> Valid, possibly, since an `ar' archive is just that, it can
    Johan> contain anything, but I doubt that it has a defined
    Johan> meaning. I'd vote for it being a bug in libtool.
    >> Thats my guess too.

    GOMBAS> Well, libtool-1.3c omits some warnings at least:

    GOMBAS> *** Warning: Linking the shared library libss.la against
    GOMBAS> the *** static library ../../lib/editline/libeditline.a is
    GOMBAS> not portable!

...but it works, without any warnings, when linking against
../../lib/editline/libeditline.la.

(of course, libeditline must managed by libtool first).

In this case, libtool first extracts the *.o objects from
libeditline.a and puts then into libss.a.
-- 
Brian May <bam@snoopy.apana.org.au>