Windows-to-Linux Cross Compiler Guide (2020)

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).

This is an updated guide how to build cross-compiler targeting latest stable version of Debian GNU/Linux at the time of writing (Sep 2020): Debian Buster. New version of cross-compiler has full support of C++17, C++11 and C++03. Choice of Debian as reference OS makes sense, because other most popular distributions (Ubuntu and Mint) are derived from Debian.

Cross-compiling to Linux makes perfect sense if your operating system of choice on the workstation is Windows and you are hosting your website on Linux and need full 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.