Betamoo
Betamoo

Reputation: 15960

Compiling linux sources in Windows environment

Upvotes: 2

Views: 2919

Answers (2)

MStodd
MStodd

Reputation: 4746

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?

Upvotes: 5

Cerin
Cerin

Reputation: 64870

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.

Upvotes: 2

Related Questions