Possible Duplicate:
build a file.lib to a file.a usable on linux
As I say in the title is it possible to extract a object file from a file.lib. The point of this is to then create the file.a so I can compile the ported file.cpp I ported from windows to linux.
You can use
lib /extractto invoke the librarian and extract object files out of a lib. However, note that you can’t just pack Windows-generated object files into a.aarchive and expect them to work on Linux. When porting across platforms, you have to recompile from source.