MacOS
Windows Subsystem for Linux (WSL) - recommended for Windows systems
For an older more detailed tutorial see the first 8.5 minutes of https://www.youtube.com/watch?v=Cvrqmq9A3tA (summary). If you have more than one version of Ubuntu installed see WSL commands and launch configurations and example.
Post-install:
sudo apt update sudo apt upgrade -y sudo apt install -y gcc g++ make gdb zip python mkdir /mnt/c/os cd; echo "cd /mnt/c/os" >> .profileThe cd in .profile will go to /mnt/c/os automatically on startup.
Test Program
$ wget http://fog.misty.com/perry/os/examples/examples.zip [or use curl -O if wget is not available] ... $ unzip examples.zip ... $ rm examples.zip $ cd examples/intro $ make gcc -Wall -o args args.c $ ./args 0: ./args n = 0, d = 0 $ ./args 123 456.789 0: ./args 1: 123 2: 456.789 n = 123, d = 456.789 $
Web-based Environments