Installing Windows Subsystem for Linux
8.2

Installing Windows Subsystem for Linux

Due to calling-convention differences across different platforms, code compiled for Windows will not work on Linux and vice-versa. I have decided to use Linux for grading, so Windows users should have some version of Linux available for testing their compilers. Fortunately it is now very easy to install a lightweight Linux distribution using the Windows subystem for Linux (WSL). The first couple of homework assignments will be platform independent but after that you will need access to a Linux distribution for testing purposes, so I recommend you set this up sooner rather than later. I will also provide instructions for Mac users to write cross-platform code, so if you have access to Mac that should suffice.

Here are instructions to get a working Linux distribution in Windows 10.

If these instructions do not work for you or you have any questions, please post on Piazza.