Please don't use this. It's old and didn't really even work in the first place. Just keeping it around for historical value.
Last active
October 18, 2022 03:26
-
-
Save kirb/2353599 to your computer and use it in GitHub Desktop.
Install Theos on Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# based on BigBoss' installsdk3 and installtheos3, included with | |
# the BigBoss Recommended Tools package. works on machines with | |
# apt-get. currently untested but probably works. | |
if [[ "$(whoami)" != "root" ]]; then | |
echo "Please run this script as root" | |
[[ -f "/usr/bin/sudo" ]] && sudo "$0" || su "$0" | |
exit 1 | |
fi | |
mkdir /var/sdk | |
pushd /var/sdk | |
wget http://thebigboss.org/hostedfiles/sdk3.tar.gz -O/tmp/sdk.tar.gz | |
tar xfv /tmp/sdk.tar.gz | |
rm /tmp/sdk.tar.gz | |
popd | |
pushd /var/sdk/usr/lib | |
ln -s libgcc_s.1.dylib libgcc_s.10.5.dylib | |
ln -s dylib1.o dylib1.10.5.o | |
ln -s crt1.o crt1.10.5.o | |
ln -s libstdc++.6.0.9.dylib libstdc++.6.dylib | |
ln -s libstdc++.6.0.9.dylib libstdc++.dylib | |
ln -s libobjc.A.dylib libobjc.dylib | |
ln -s libSystem.B.dylib libSystem.dylib | |
popd | |
pushd / | |
wget http://pjtrix.com/iphone/presentations/OSCON2009/iphone-toolchain-linux.tgz -O/tmp/toolchain.tar.gz | |
tar xfv /tmp/toolchain.tar.gz | |
rm /tmp/toolchain.tar.gz | |
popd | |
ln -s /usr/local/bin/arm-apple-darwin9-gcc /usr/local/bin/arm-apple-darwin-gcc | |
apt-get update | |
apt-get -y --force-yes install curl wget git make nano rsync perl build-essential | |
pushd /var | |
git clone git://github.com/DHowett/theos.git | |
popd |
@stufever fixed, thanks
sdk3.tar.gz means which sdk version?
@dawncold it means iOS 3 SDK
when i paste this curl git.io/linuxtheos -kL | sudo bash nothing happens plz help guys am new at this.
Your current SYSROOT, "/opt/iphone-sdk-3.0/sysroot", appears to be missing.
How te repair that ? when i execute make ?
Thank you! This helped me.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
line 27 is wrong, it should be
tar xfv /tmp/toolchain.tar.gz
line 32, no package named "top" in ubuntu 12.04