wk iPodTouch list find blog view edit

iPod Touch 2G notes




ipod:~ root# cat /usr/bin/ld
#!/bin/sh
foo=0
BIN=""
for a in $@ ; do
  if [ $foo = 1 ]; then
  BIN=$a
  break
  fi
  if [ "$a" = "-o" ]; then
  foo=1
  fi
done
ld.real $@
ldid -S $BIN


How to install gcc


wget http://apt.saurik.com/debs/libgcc_4.2-20080410-1-6_iphoneos-arm.deb
wget http://nopcode.org/p/iphone3-include.tar.gz
wget http://nopcode.org/p/libSystem.dylib
aptitude install gcc make patch gdb