[Top][All Lists]

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

Re: only static libraries created

From: Guido Draheim
Subject: Re: only static libraries created
Date: Thu, 25 Sep 2003 21:13:03 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313

You may want to ask at for specifics. If all
dependencies are resolved then a dll should be there
as $subdir/.libs/*.dll - check the content of the .la
files in $subdir/*.la whether it has been configured
correctly to create dynalibs (it's a text file). Then
do the next step.

address@hidden wrote:

I want to compile gtkhtml2 (libgtkhtml) for windows,
I use MinGW (gcc-3.2.3) and cygwin.

My problem is that only static libraries are created,
no .dlls. What could be the reason for this?

The problem is that the library consists of some
sub-packages (sub-directories) that are linked together
before the whole library is created. For those sub-
packages just static library files (.a) are created,
I suppose there should be .dlls that can be linked to
the toplevel library, to avoid warnings like:

*** Warning: This system can not link to static lib archive c:/libpath/lib/
*** 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.

As a consequence, no .dll is created in the toplevel directory, that should include all the sub-packages.

I use the -no-undefined LDFLAG (set as an environment
variable for configure), is this still necessary for
libtool-1.5? I also tried to add the macro AC_PROG_LIBTOOL_WIN32_DLL to, but this
made no difference, i read somewhere on the net that
this is not required anymore.



Libtool mailing list

-- guido                        
GCS/E/S/P C++/++++$ ULHS L++w- N++@ d(+-) s+a- r+@>+++ y++ 5++X- (geekcode)

reply via email to

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