how to build midnight commander on windows (8.1) [closed]

Solution 1:

This is a bad idea for a 'getting started' project. This is a Linux program that you can build under windows using various ports of the GNU toolchain. You aren't just trying to build an app here.. you are trying to build an app written for another operating system using a ported toolchain that you aren't familiar with.

If you want to learn how to build native programs for Windows, try the (free) Visual Studio Community Edition and build some apps written for it.

If you are OK learning how to build it 'Linux style', save yourself the pain if you have Windows 10 and use the Windows Subsystem for Linux to build it using Debian/Ubuntu with native tools. To do it this way, you will still need to install build tools but these are easily gotten via the built-in "apt" package manager. If you don't have Windows 10, simply install a Linux VM and start there.

If you MUST.. you will need a port of the GNU toolchain like CYGWIN or MINGW64 to build sources like this for native Windows. I suggest using MINGW-w64 as it is fairly performant and doesn't have 30 gazillion packages to pick from (as Cygwin does). Once you have an environment, follow the instructions pointed out above by @DrZoo