libtool
[Top][All Lists]
Advanced

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

Re: MinGW libtool DLL failure


From: Bob Friesenhahn
Subject: Re: MinGW libtool DLL failure
Date: Wed, 9 Oct 2002 22:19:07 -0500 (CDT)

By the way, notice that this is a C++ DLL which is being linked
against a C DLL also built by libtool.  The C DLL did successfully
link using libtool.  The C DLL is based in part on a libtool
"convenience library".

To be honest, I believe that there are still some run-time issues with
C++ DLLs under MinGW, but it should still be possible to create the
DLL.

Bob

On 9 Oct 2002, Elizabeth Barham wrote:

> Bob Friesenhahn <address@hidden> writes:
>
> > Ideas?
> >
> > g++ -shared c:/mingw/bin/../lib/gcc-lib/mingw32/2.95.3-6/../../../dllcrt2.o 
> >  .libs/Blob.o .libs/BlobRef.o .libs/CoderInfo.o .libs/Color.o 
> > .libs/Drawable.o .libs/Exception.o .libs/Functions.o .libs/Geometry.o 
> > .libs/Image.o .libs/ImageRef.o .libs/Montage.o .libs/Options.o 
> > .libs/Pixels.o .libs/STL.o .libs/Thread.o .libs/TypeMetric.o  
> > -L/usr/local/lib ../../magick/.libs/libMagick-5.dll 
> > -Lc:/mingw/bin/../lib/gcc-lib/mingw32/2.95.3-6 
> > -Lc:/mingw/bin/../lib/gcc-lib -L/mingw/lib/gcc-lib/mingw32/2.95.3-6 
> > -Lc:/mingw/bin/../lib/gcc-lib/mingw32/2.95.3-6/../../../../mingw32/lib 
> > -L/mingw/lib/gcc-lib/mingw32/2.95.3-6/../../../../mingw32/lib 
> > -Lc:/mingw/bin/../lib/gcc-lib/mingw32/2.95.3-6/../../.. 
> > -L/mingw/lib/gcc-lib/mingw32/2.95.3-6/../../.. -lstdc++ -luser32 -lkernel32 
> > -ladvapi32 -lshell32 -lmingw32 -lgcc -lmoldname -lmsvcrt   -o 
> > .libs/libMagick++-5.dll
>
> What happens if you run the above line by itself without the -shared
> switch?
>
> Elizabeth
>

======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen





reply via email to

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