From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Fortin To: "'cygwin@sourceware.cygnus.com'" Subject: ld, dlls, and windows libraries Date: Sun, 28 Feb 1999 23:02:00 -0000 Message-ID: <36C4582C.A302D915@ibm.net> X-SW-Source: 1999-02n/msg00387.html Message-ID: <19990228230200.w17t4eIl190dm6raUBRRhP-vEp_shrHM1Oz3CZVmocA@z> 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