libtool-patches
[Top][All Lists]
Advanced

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

Re: MSYS+MSVC for libtool branch-2-0, take 7


From: Ralf Wildenhues
Subject: Re: MSYS+MSVC for libtool branch-2-0, take 7
Date: Sat, 13 Aug 2005 08:18:16 +0200
User-agent: Mutt/1.5.9i

Hi Peter,

* Peter Ekberg wrote on Thu, Aug 11, 2005 at 11:20:26AM CEST:
> Ralf Wildenhues wrote:
> > Can we get in the position that both might be used ("lib" in older,
> > already installed libs, "ar" for a newer package the user is about
> > to link)?  I believe not, but need to check so.
> 
> I did a test run with CC=cl AR=ar (didn't keep the output, sorry),
> and Microsoft link did not like (at least some) libraries created
> by ar, so I guess the only viable option is to stick with AR=lib
> for MSVC. The other way around (CC=gcc AR=lib) is not very
> interesting, is it?

Nope, it isn't.  Thanks for testing.

> I'd also argue that you should have LD=link if you have CC=cl,
> since that is what is invoked by cl.exe when it needs to link.
> Should I stick a
> : ${LD=link}
> somewhere in some MSVC branch? (perhaps with some magic to get
> link from the same dir that cl is in, Cygwin ships with a "link"
> program that probably ends up before the intended Microsoft link
> in the path)

I know.  This sucks a bit.  If you know a clean way around this, good.

> strip and ranlib destroys the output from the Microsoft tools,
> so that's why I configure with STRIP=: and RANLIB=:

Cheers,
Ralf




reply via email to

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