Skip to content
Advertisement

Compiling linux sources in Windows environment

  • I got a source for console program written in c++ for linux
  • Is there a (automated) way to compile this source to run in windows? and what about linux functions and libraries called in this file?

Advertisement

Answer

It depends on the source, but if it’s using linux functions and libraries, installing Linux might end up being easier that getting it to compile in Windows.

Cygwin is one option. MinGW is another option.

How much code are we talking, and what libs does it look like it’s using?

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement