Alexandre Oliva wrote:

> On Aug 10, 2000, Paul Berrevoets <[EMAIL PROTECTED]> wrote:
>
> > Alexandre Oliva wrote:
> >> On Jul 26, 2000, Mo DeJong <[EMAIL PROTECTED]> wrote:
> >> > Why is it a warning? This should be an error. If I tell it
> >> > "use -lgdi32" it should use it or error out.
> >>
> >> Nope.  -lgdi32 is being recorded as a required dependency, and it will
> >> be linked in when any executables or other libraries are linked with
> >> the library you're creating.
>
> > Sorry to come in late on this thread, but ... libgsi32.a is _not_ a static
> > library, but an impdef library, which is how you link to shared libraries
> > in win32. Is this possibly where the mistake is in libtool?
>
> Might be.  The question is why libtool couldn't find the .dll version
> of the library to figure it is a shared library, after all.

But the point is that the .dll is not needed for linking, only for run-time. In
the case of a cross-compile, as Mo DeJong was doing, the .dll probably isn't
even on the system (and shouldn't need to be).
--
Regards,
Paul

Reply via email to