[Top][All Lists]

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

Archiver handling (was Re: [patch #6448] [MSVC 7/7] Add MSVC Support)

From: Peter Rosin
Subject: Archiver handling (was Re: [patch #6448] [MSVC 7/7] Add MSVC Support)
Date: Mon, 18 Aug 2008 22:37:10 +0200
User-agent: Thunderbird (Windows/20080708)

Regarding the issue of merging the MSVC branch...

Peter Rosin skrev:
One more hurdle is the $AR_SEP issue. It is normally set to ' ', but that
doesn't fit too well with make (as you have previously mentioned, I'm
just raising the flag...).

I can see one way out, and that is to create a new libtool mode, i.e.
an interface something like this:

        .../libtool --mode=ar cru foo.a a.o b.o c.o
        .../libtool --mode=ar x foo.a
        .../libtool --mode=ar t foo.a

Then in libtool.m4 set LTAR to '.../libtool --mode=ar' if $AR is "too
incompatible" with a standard archiver interface. If $AR is compatible,
simply set LTAR=$AR.

Makefiles (and automake) can then use $LTAR if they like, or continue
to use $AR if they wish to remain incompatible...

Is that overkill for a stupid space problem?

One pro with this approach is that it is a chance to clear up the
$ARFLAGS/$AR_FLAGS confusion.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]