This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
ld, dlls, and windows libraries
- To: "'cygwin@sourceware.cygnus.com'" <cygwin@sourceware.cygnus.com>
- Subject: ld, dlls, and windows libraries
- From: John Fortin <fortinj@ibm.net>
- Date: Fri, 12 Feb 1999 11:34:52 -0500
- Delivered-To: listarch-cygwin@sourceware.cygnus.com
- Delivered-To: mailing list cygwin@sourceware.cygnus.com
- Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
- Sender: cygwin-owner@sourceware.cygnus.com
Hi,
I have a quick question...
Is there the equiv. of -mwindows for ld. The trouble occurs when I
build a DLL which uses win32 api, I get a bunch of errors for unknown
symbols. If I manually add ( by trial and error at this point )
-lkernel32 -lm and other libraries, I am able to finish the build of the
DLL.
Is there a shortcut, or is there a list which indicates which
functions are in which libs. I suppose I could use nm, but that seems
inefficient.
Thanks,
John Fortin
fortinj@ibm.net