Issue
I'm creating a linux shell, and i've been developing it on a VirtualBox virtual machine of linux on my windows 10 pc. Recently I've upgraded to Windows 11 and for some reason that makes the vm run at unbearably slow speeds. Therefore i how to comply and not use the linux vm, so i need to develop the shell in windows and execute it using WSL2 or any other command line. Is it possibly to use the linux libraries (e.g : <unistd.h>) on Windows?
Solution
Yes, if you setup WSL2, you should be able to develop C like you did on your VirtualBox machine. If decide to use Ubuntu, running sudo apt-get install build-essential
should give you everything you need to compile and run C programs.
Answered By - Gbox4 Answer Checked By - Senaida (WPSolving Volunteer)