• Advertisement
Sign in to follow this  

MinWG Compatiblity

This topic is 2855 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is it possible to use MinWG with any Win32 native libraries that come with the Microsoft Platform SDK? What about using DirectX? Is MinWG binary compatible with VS? Thanks.

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by Sambori
Is it possible to use MinWG with any Win32 native libraries that come with the Microsoft Platform SDK?
I believe so, but you need to convert the .lib files.

Quote:
Original post by Sambori
What about using DirectX?
No, Visual Studio is the only supported compiler.

Quote:
Original post by Sambori
Is MinWG binary compatible with VS?
The .lib file format isn't, no.

Why use MinWG? What's wrong with Visual Studio?

Share this post


Link to post
Share on other sites
the only reason that I wanted to use MinGW is what I have heard about it's superior optimization and conformance to standard.

Share this post


Link to post
Share on other sites
Quote:
Original post by Sambori
the only reason that I wanted to use MinGW is what I have heard about it's superior optimization and conformance to standard.
That's not been true for over 10 years - it was only really the case with VC 6, which came out before the first C++ standard.

Share this post


Link to post
Share on other sites
Actually, you used to be able to compile DX applications with MinGW because it uses COM, this was with DX 9.x, last time I tried with the latest DXSDK, I had a lot of header incompatibility.

lib files can be passed as object files during linking and MinGW would be able to handle them as long as the symbols in them have C linkage and (not 100% sure on this one) the .lib is a reference library to a .dll.

It is possible, but just getting a setup that compiles a DirectX application is probably a weekend project, so, unless for some weird reason you need to use GCC extensions or have a lot of GCC inline asm, avoid it.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement