MinGW or MSVC?

Dragonop
Member
 
Posts: 1178
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop

MinGW or MSVC?

by Dragonop » Tue Aug 04, 2015 22:57

I have questions, but I've never had answers.
What it's the difference between MinGW and MSVC?
Why it's MSVC the recommended one?
Witch one should I use?
If one it's way better than the other, why would you need to use the other one?
 

blert2112
Member
 
Posts: 244
Joined: Sat Apr 25, 2015 04:05
GitHub: blert2112

Re: MinGW or MSVC?

by blert2112 » Wed Aug 05, 2015 00:34

In the past couple days I have tinkered with both. As far as the inner workings... I have no idea, sorry. Things I can tell you: If you prefer Windows GUIs, MSVC is for you (you can work from the command line too if you like). If you prefer the *nix way of doing things, MinGW is for you. Further, if you prefer a more Debian way of doing things use MSys for MinGW, if you prefer something more akin to Arch (as I do) then try MSys2 (uses pacman for package management) for MinGW.
I just finished setting up MSys2 and successfully compiling my first MT build yesterday and was considering writing up a HowTo set up MSys2. I have a couple of things to work out and a script or two to write before I can do that though.
Best of luck to you, and be prepared to waste a day getting the wrinkles ironed out.
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: MinGW or MSVC?

by Krock » Wed Aug 05, 2015 18:26

People say that MSVC is a bit faster on Windows systems than MinGW.
I never compared both, so I can't tell if that's true.

Switching between the two build types can be tricky when you override the old directory because they use different libraries/dlls.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

Dragonop
Member
 
Posts: 1178
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop

Re: MinGW or MSVC?

by Dragonop » Wed Aug 05, 2015 22:51

Thanks blert and Krock, you've solved a lot of doubts to me :-)
 

User avatar
benrob0329
Member
 
Posts: 1192
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
In-game: benrob03

Re: MinGW or MSVC?

by benrob0329 » Thu Aug 06, 2015 23:14

MSVC is closed-source though, so i wouldn't recommend it for that reason.
 


Return to Minetest General

Who is online

Users browsing this forum: Bing [Bot] and 22 guests

cron