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: Peter Ekberg
Subject: RE: MSYS+MSVC for libtool branch-2-0, take 7
Date: Thu, 11 Aug 2005 11:38:59 +0200

Ralf Wildenhues wrote:
> * Peter Ekberg wrote on Tue, Aug 09, 2005 at 10:18:03AM CEST:
> > You mean "new test suite" as in "test suite in HEAD", right?
> 
> Yes.  Could you try it?

I ported the patch over to HEAD (took some work, but not too
difficult, the worst incompatibility was that the
$file_list_spec feature have been added for AIX which I hooked
into instead of hardcoding approximately the same thing for
MSVC)

Anyway, here's testsuite.log and I configured with:
../configure CC=cl CFLAGS=-MD CXX=cl CXXFLAGS=-MD STRIP=: RANLIB=:
F77=no FC=no NM="dumpbin -symbols" AR=lib LD=link

I also fixed the compile mode to add -TC or -TP for MSVC
instead of removing those flags in func_mode_link, which
was what you sufggested. But a couple of the tests (14
and 15, template.at) still trips on this issue as they
use $CXX directly instead of libtool's compile mode...

Also, test 11 (link-order.at) seems to need some -no-undefined
flags. I get:

<snip>
libtool: link: warning: undefined symbols not allowed in i686-pc-mingw32
shared libraries
libtool: link: lib  -NOLOGO -OUT:src/.libs/cee.lib  src/c.obj
libtool: link: : src/.libs/cee.lib
libtool: link: creating src/libcee.la
libtool: link: ( cd "src/.libs" && rm -f "libcee.la" && ln -s
"../libcee.la" "libcee.la" )
<snip>
*** Warning: This system can not link to static lib archive
/c/cygwin/home/peda/libtool/head-msvc/libtool/msvc/tests/testsuite.dir/1
1/old/lib/libcee.la.
*** I have the capability to make that library automatically link in
when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
<snip>

There are more similar warnings for other libs in that test.


Cheers,
Peter

Attachment: head-msys_msvc-8.patch
Description: head-msys_msvc-8.patch

Attachment: testsuite.log.bz2
Description: testsuite.log.bz2


reply via email to

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