I began trying to compile Transmission for iOS using the on-device toolchain, but quickly became disinterested in resolving issues. Here is my ./configure call, in case anyone else wants to pick up where I left off:
./configure --disable-gtk --disable-libnotify --disable-nls --disable-mac CFLAGS="-isysroot /var/sdk" cross_compiling=yes CPP=/usr/bin/cpp
This ends with:
checking how to run the C preprocessor... /usr/bin/cpp configure: error: in `/var/mobile/Media/Code/transmission-2.11': configure: error: C preprocessor "/usr/bin/cpp" fails sanity check
This would be pretty great to have on the new Apple TV.