Page 1 of 1

How do you compile stuff on Windows?

Posted: Tue 12 Jun, 2007 4:43 am
by Demon
How do you compile stuff on Windows?
I sure wish Windows had a Synaptic and a package repository so I can get build-essential and be done. :P

Posted: Tue 12 Jun, 2007 5:22 am
by Dwedit
Choose your weapon: Cygwin or MinGW. Getting the compiler is the easy part, it's getting the huge assortment of libraries used by various programs that's the hard part.
Cygwin makes the generated programs dependent on cygwin dlls, which make it act more like a UNIX program on Windows. MinGW just creates native windows programs.

Alternatively, you could just get Microsoft's "Express Edition" compiler.

Cygwin's installer is somewhat like a package repository, give it a try.

Posted: Tue 12 Jun, 2007 12:19 pm
by benryves
It depends on what you want to compile.

Building .NET-targetting apps is easy enough; the compilers can be found in %windir%\Microsoft.NET\Framework\v2.0.50727 (eg csc.exe for C#) as well as MSBuild.