Windows-to-Linux Cross Compiler Guide (2012)

Linux and Windows Welcome, this website explains how to create cross-compiler to build Linux software from Windows.

Cross-compiler is a set of EXE files (command line applications), libraries and headers; it will run without installation in any Win32 environment and build your software for Linux.

Both 32-bit and 64-bit Linux versions are supported (x86 and x86_64). Also you can prepare Win32 cross-compiler for FreeBSD instead of Linux.

This is an older version of cross-compiler howto (originally written in September of 2012) targeting previous version of Linux: Ubuntu 9. Old version of cross-compiler has full support of C++03, but it does not support C++11.

Cross-compiling to Linux or FreeBSD makes perfect sense if your operating system of choice on the workstation is Windows and you are hosting your website on Linux or FreeBSD and need efficiency of C or C++.

This website is run by independent software developer and not endorsed or associated in any way with Free Software Foundation. This website is not endorsed or associated in any way with Microsoft Corporation. Linux is a registered trademark of Linus Torvalds. Microsoft Windows is a registered trademark of Microsoft Corporation.

>> Read next section or buy already prepared cross-compiler (€10) to save your time.