Skip to content

Instantly share code, notes, and snippets.

@jsonpittman
Last active September 27, 2021 02:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jsonpittman/2e8dc6577d73dcd72c0dc7a2ea36797d to your computer and use it in GitHub Desktop.
Save jsonpittman/2e8dc6577d73dcd72c0dc7a2ea36797d to your computer and use it in GitHub Desktop.
Easily install Cygwin, LWTOOLS, and CMOC in Windows
1) open an elevated command prompt (right click on Command Prompt and "Run as Administrator")
2) enter command: mkdir c:\Cygwin
3) enter command: cd c:\Cygwin
4) Paste the text below into notepad. Save in c:\Cygwin as "cmoc.bat":
bitsadmin /transfer wcb /priority high https://www.cygwin.com/setup-x86_64.exe c:\Cygwin\setup-x86_64.exe
setup-x86_64.exe -q --site http://cygwin.osuosl.org/ --root c:\Cygwin -P bison -P flex -P make -P gcc-c++ -P perl -P wget -P cygport
cd c:\Cygwin\bin
bash --login -c "cd /home; wget http://www.lwtools.ca/releases/lwtools/lwtools-4.18.tar.gz; tar zxvf lwtools-4.18.tar.gz"
bash --login -c "cd /home/lwtools-4.18; make; make install"
bash --login -c "cd /home; wget http://perso.b2b2c.ca/~sarrazip/dev/cmoc-0.1.71.tar.gz; tar zxvf cmoc-0.1.71.tar.gz"
bash --login -c "cd /home/cmoc-0.1.71; ./configure; make; make install
5) Enter command: cmoc.bat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment