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]

VC++ .lib files with g++ ?


Hey all,

I am wondering if it possible to link up against a MS VC++ lib library with
g++?


I have tried the following :

g++ myfile.cpp -ldsound -L./dx/lib

where dsound.lib exists in the ./dx/lib directory.  This does not complain
about not being able to find the dsound library, but it does not seem to link
against it.

I still get undefined references to functions defined in that lib.

Is there a way to compile .lib libraries with your code?

Brian


--
---------------------------
Brian Genisio
genisiob@pilot.msu.edu






--
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]