Skip to content
javacom edited this page Jul 24, 2011 · 25 revisions

Welcome to the toolchain4 wiki!



If you want to ./toolchain.sh buildsys
    Download iPhoneSDK4_2.pkg here

If you want to ./toolchain.sh buildsys43
     Download iPhoneSDK4_3.pkg here

If you want to ./toolchain.sh build313
     Download iPhoneSDKHeadersAndLibs.pkg (that is iPhoneSDK3.1.3) here
    Download MacOSX10.5.pkg here

If you want to ./toolchain.sh build32
     Download iPhoneSDKHeadersAndLibs_32.pkg (that is iPhoneSDK3.2) here
    and MacOSX10.5.pkg

If you use Ubuntu 11.04, please make sure you use gcc-4.4 and g++-4.4 to compile cctools

sudo apt-get install gcc-4.4 g++-4.4 gobjc-4.4
sudo update-alternatives --remove-all gcc
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.4 44  
 --slave /usr/bin/g++ g++ /usr/bin/g++-4.4 
 --slave /usr/bin/gcov gcov /usr/bin/gcov-4.4

If you have problem installing libssl0.9.8, try this

wget http://us.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl0.9.8_0.9.8o-1ubuntu4_i386.deb
sudo dpkg -i libssl0.9.8_0.9.8o-1ubuntu4_i386.deb 

Ubuntu 10.10 releases are here http://releases.ubuntu.com/10.10/
I used the ubuntu-10.10-desktop-i386.iso in VMWare Fusion to test this toolchain

if you get the print_object.c for error objc/objc_runtime.h not found add these to disable compilation in /toolchain4/src/cctools/otool/print_object.c

#if 0
..
..
#endif
Clone this wiki locally