Installation instructions for Cygwin
This guide will help you install Theos on your Windows (7, 8, and 8.1) machine via Cygwin.
Please consider using Windows Subsystem for Linux instead if possible. Cygwin works but is quite limited.
Platform | Minimum OS version | Targets supported |
---|---|---|
Windows | XP | iOS |
All the commands shown in the following instructions are meant to be run as the “user” user, not root. Similarly, Theos is also meant to be run as a normal user, not root.
-
Install the following prerequisites:
- Cygwin
- git (under Devel)
- make (under Devel)
- ca-certificates (under Net)
- openssh (under Net)
- perl (under Perl)
- python (under Python)
-
Set up the
THEOS
environment variable:echo "export THEOS=~/theos" >> ~/.profile
For this change to take effect, you must restart your shell. Open a new tab and do
echo $THEOS
on your shell to check if this is working. -
Clone Theos to your device:
git clone --recursive https://github.com/theos/theos.git $THEOS
-
Get the toolchain:
On 32 bit:
git clone git://github.com/coolstar/iOSToolchain4Win.git $THEOS/toolchain/windows/iphone
On 64 bit:
git clone -b x86_64 git://github.com/coolstar/iOSToolchain4Win.git $THEOS/toolchain/windows/iphone
-
Get an iOS SDK:
You can get patched SDKs from our SDKs repo.
curl -LO https://github.com/theos/sdks/archive/master.zip TMP=$(mktemp -d) unzip master.zip -d $TMP mv $TMP/sdks-master/*.sdk $THEOS/sdks rm -r master.zip $TMP