[Top][All Lists]

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

Re: Trouble with MSVC `cl -c -o ...'

From: Milan Tichy
Subject: Re: Trouble with MSVC `cl -c -o ...'
Date: Mon, 11 Oct 2004 23:02:45 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803

Bob Friesenhahn wrote:

If this wrapper works so well, maybe it can be contributed to libtool?

I'm not sure if this is appropriate to this list. However I don't think
it is really necessary. When I use Libtool together with `cl', Libtool
"knows itself" that it should use
`lib /out:... ...' There were just two problems I encountered:
A) If I used quite complex structure of sublibs there were problems with
extracting objects from the archive while creating a top level target
The example given in '7.3.5 Libtool Convenience Libraries' of Automake
manual worked fine. However if there were some sublibs in the same
directory as "upper level" lib it didn't work. Similar to this
     # -- sub2/ --
     # showing nested convenience libraries
     noinst_LTLIBRARIES =
     libsub2_la_SOURCES =
     libsub2_la_LIBADD = \ \
Solution: Don't do it. When I use subdirs it works fine.
B) I couldn't find out how to path any extra options to the `lib' program
through libtool (or configure?).
Solution: I don't know; I don't need it now.

It would be nice to make Libtool to create w32 DLL's somehow
(semi-)automatically but it's perhaps another story...



reply via email to

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