[Top][All Lists]

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

Re: MinGW libtool DLL failure

From: Boehne, Robert
Subject: Re: MinGW libtool DLL failure
Date: Thu, 10 Oct 2002 10:21:01 -0500

> With the link line fully qualified with all of the system libraries and
> objects you could just use ld directly.  It would be better, IMO, though
> to remove the system libraries from the link command and allow g[cc|++]
> to add the appropriate system libraries so that if some new system
> library is added, the package won't need to worry about it.
> Earnie.

AAACK!  Oh no, that is definitely the compiler's job, I'm not going
to jump on a bandwagon of tracking every additional link flag tacked
on by every C++ compiler on the planet, Libtool is hard enough
to maintain as it is.  Clearly the compiler should be able to link
a shared library, if not, it is broken.
  The only thing that troubles me about the link line Bob posted is
that a .dll is specified in the link, not the corresponding .lib.
I'm not a Windows guru, but I thought that you never link to a
dll directly, but to the .lib that is created when the dll is.



Robert Boehne             Software Engineer
Ricardo Software   Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email:  rboehne AT ricardo-us DOT com

reply via email to

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