VC++ .lib files with g++ ?

Brian Michael Genisio genisiob@pilot.msu.edu
Mon Aug 6 11:22:00 GMT 2001


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/



More information about the Cygwin mailing list