delorie.com/archives/browse.cgi | search |
DJ Delorie wrote: > > > It ocurred to me that, if there were a .lib file for the cygwin dll, > > that it could be linked in with and used by VS6 exes that were > > compiled using the cygwin headers. > > Cygwin is more than just a library. You can't build cygwin programs > with MSVC because MSVC will use the MS runtime; you need to use gcc to > use the cygwin runtime. Plus, cygwin isn't a .lib and probably never > will be a .lib. It's a .dll. > But, that doesn't mean you couldn't use the MSVC utilities to create an import library named CYGWIN.LIB if you want to go to the trouble and there will be problems giving you trouble I would assume. Note there are static items also in libcygwin.a and those static items will need to exist in your CYGWIN.LIB. Now, using the CYGWIN.LIB will be a different challenge and you'll have to manually do the linking to avoid MSVC standard includes and libraries. Earnie. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |