Building MiKTeX

MiKTeX can be built on Windows. A subset of MiKTeX, called MiKTeX Tools, can be built on GNU/Linux:

Getting MiKTeX Source Code

You can download MiKTeX source code here:

MiKTeX 2.9-2016-01-28 Source Code
Version 2.9-2016-01-28, all platforms
Size: 21.14 MB