delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/02/12/16:40:48

Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com
Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <36C4582C.A302D915@ibm.net>
Date: Fri, 12 Feb 1999 11:34:52 -0500
From: John Fortin <fortinj AT ibm DOT net>
X-Mailer: Mozilla 4.05 [en] (WinNT; U)
MIME-Version: 1.0
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: ld, dlls, and windows libraries

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 AT ibm DOT net


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019