If you are using Cygwin, I believe you can use something like the -mwin parameter.
Windows itself doesn't use .lib files. Some Windows compilers like MS VC++ use .lib files. Cygwin's compiler also uses .a, and .la, and sometimes .dll.a...
Anyway, what sort of errors do you get? If you still have problems, give some more specific info, like what Windows GNU compiler you are using. (Cygwin's, Mingw, etc.)
Edit: Just noticed you are trying to compile a Windows program in Linux using gcc, not trying to use a Window's version of gcc. I don't have any sort of experience with that, but you'd need some form of cross-compiler.
Last edited by deiussum; 03-21-2005 at 08:30 AM.
|