This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: VC++ .lib files with g++ ?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]