Converting C++ object file from linux .o to Windows .obj

c++, g++, visual-studio-2010

Solution

No, there is no way, especially as the .o file was not compiled with a cross-compiler on Linux. In any case, this sounds like a very strange approach to solve a single linking error.

Problem

I'm sorry if this sounds crazy. Is there anyway I can convert .o file that I get from g++ compiler to *obj that is compatible with Visual Studio. This is the reason I am considering doing this conversion.

Original source

Related problems