[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: linking with extern DLLs under Cygwin
From: |
Brian Dessent |
Subject: |
Re: linking with extern DLLs under Cygwin |
Date: |
Tue, 22 Jan 2008 03:22:58 -0800 |
Peter Rosin wrote:
> It is not terribly hard to create those import libraries semi-
> manually. dlltool can do most of the work. Is that not an
> option for you?
That or simply a symlink libfoo.dll.a -> ../bin/cygfoo-n.dll.
In the official Cygwin distro all devel packages contain import libs, so
I'd consider this a bug in the ICU package if it can't generate one.
One can be created as a side effect of linking the DLL simply by adding
-Wl,-out-implib,libfoo.dll.a.
Brian