-
Notifications
You must be signed in to change notification settings - Fork 0
/
install-Cygwin.bat
executable file
·31 lines (26 loc) · 1.12 KB
/
install-Cygwin.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@echo off
:: root MUST end with '\'.
:: On ReactOS, it MUST NOT reside on a btrfs volume until CORE-18247 and
:: CORE-18300 have been fixed.
set root=C:\
echo About to install Cygwin to %root%cygwin
echo.
echo All required packages will be selected automatically.
echo Make sure to add your favorite editor when installing
echo (press the view button to search and add more packages)
echo.
pause
set setup_src=https://web.archive.org/web/20160820100148/http://cygwin.com/setup-x86.exe
set setup_dst=setup-x86-2.874.exe
:: dwnl is not available on MS Windows, and bitsadmin isn't pre-installed on
:: Windows 2003
dwnl %setup_src% %setup_dst% || (
echo Unable to download %setup_src%
echo Please download and save as %setup_dst% in the current working directory
pause
)
%setup_dst% ^
-X -O -s http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/2016/08/30/104223/ ^
-R %root%cygwin ^
-l %root%cygcache ^
-P gcc-g++,make,automake,autoconf,git,perl,gettext-devel,libiconv-devel,zlib-devel,cocom,mingw64-i686-gcc-g++,mingw64-i686-zlib,mingw64-x86_64-gcc-g++,mingw64-x86_64-zlib