- 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?
Thanks
Thanks
You'll probably want to install Cygwin. It adds Unix/Linux-like functionality to Windows and includes a repository of typical Linux programs, like GCC, which will probably be able to compile your code. You'll still need to learn some basic shell commands, like how to run "make" to compile the code.
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?