VC++ .lib files with g++ ?

Larry Hall (RFK Partners, Inc) lhall@rfk.com
Mon Aug 6 13:23:00 GMT 2001


At 03:52 PM 8/6/2001, Darius.Clynes@cec.eu.int wrote:
>Try changing the order of the libraries to link with:
>
>g++ myfile.cpp  dxguid.lib dsound.lib
>
>I have noticed that this sometimes make a difference.

Correct.  Order *is* important.  List any .lib or object file needed to 
resolve a symbol after its reference.  If you don't, you'll get 
undefines...


Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list