! :-) и все остальные.
1. ARM-компилятор под MinGW не собирается.
. Выкачивайте CygWin.
2. Тот вожделенный файл, в котором рассказывается о том как
уже давно лежит в интернете. Это аттач на 600 кб. в моём комменте.
---======== Install toolchain ===========----------
Each step have log file 1...13.txt, with log of errors and warnings in 1-err....13-err.txt
With victzh patch. Big thanks to him!

This packages i'm using in CygWin:
(dir names from local cache directory):
alternatives,apr1,aprutil1,ash,autoconf,automake,base-files,base-passwd,bash,binutils,
bison,bzip2,coreutils,cpio,crypt,curl,cygutils,cygwin,cygwin-doc,db,dejagnu,diffutils
editrights,expat,expect,findutils,flex,gawk,gcc,gcc-mingw,gdb,gdbm,gettext,gmp,grep,
groff,gzip,jikes,jpeg,less,libiconv,libpng,libssh2,login,m4,make,man,mingw-runtime,
mktemp,mpfr,ncurses,neon,openssl,patch,patchutils,pcre,perl,popt,readline,rebase
,
run,sed,subversion,tar,tcltk,termcap,terminfo,texinfo,unzip,w32api,which,zip,zli
b
$ uname -a
CYGWIN_NT-5.1 MyPCName 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin
$ bison --version
GNU Bison version 2.3
$ flex --version
flex version 2.5.4
$ svn co
http://llvm.org/svn/llvm-project/llvm/trunk llvm-svn -r 42269 // from 2007-09-25
$ pushd llvm-svn
$ ./configure --enable-optimized >/1.txt
$ make ENABLE_OPTIMIZED=1 >/2.txt
$ make install /3.txt
$ ./mklib --finish /llvm-svn/Release/lib >/3.5.txt
$ LLVMOBJDIR=`pwd`
$ popd
$ svn checkout
http://iphone-dev.googlecode.com/svn/trunk/ iphone-dev
$ pushd iphone-dev
// put odcctools_cygwin.patch in iphone-dev/odcctools/
$ cd odcctools
$ patch -p0 <odcctools_cygwin.patch
//output:
-----------------------------------------------
patching file include/Makefile.in
patching file include/mach/machine/vm_types.h
patching file include/mach/cygwin/_types.h
patching file include/mach/cygwin/vm_types.h
patching file misc/Makefile.in
patching file misc/libtool.c
patching file otool/Makefile.in
patching file ld/Makefile.in
patching file ld/pass1.c
patching file ld/pass2.c
patching file ar/Makefile.in
patching file ar/archive.c
patching file as/Makefile.in
patching file as/Makefile.arch.in
patching file ld64/Makefile.in
patching file man/Makefile.in
patching file libmacho/Makefile.in
patching file libstuff/writeout.c
----------------------------------------------
$ mv include/foreign/machine include/foreign/_machine
$ cd ..
$ mkdir /usr/local/arm-apple-darwin
$ mkdir -p build/odcctools
$ pushd build/odcctools
$ ../../odcctools/configure --target=arm-apple-darwin --disable-ld64 >/4.txt
$ make >/5.txt
// Strange error. Try again.
$ make >/5.1.txt
// !!!!!!!!!!!!!!! I'm REBOOT PC. See 5.1-err.txt. Something like not enough memory.
$ cd llvm-svn
$ LLVMOBJDIR=`pwd`
$ cd ..
$ pushd iphone-dev
$ pushd build/odcctools
$ make >/5.2.txt
$ make install >/6.txt
$ popd
// !!! I copy files FROM iPhone with iBrick(or other iPhone filesystem explorer),
// because early, i have errors with heavenly.dmg, with librarys which have symlink in files
// and CygWin don't recognize it
$ HEAVENLY=/usr/local/share/iphone-filesystem
// Get SDK from xCode with PowerISO 3.8
$ pushd include
$ ./configure --with-macosx-sdk=/Developer/SDKs/MacOSX10.4u.sdk >/7.txt
$ bash install-headers.sh >/8.txt
// Again reboot, not enough memory, see 8.1-err.txt
// ... restore vars
$ cd llvm-svn
$ LLVMOBJDIR=`pwd`
$ cd ..
$ pushd iphone-dev
$ pushd build/odcctools
// ... end restore vars
$ bash install-headers.sh >/8.1.txt
$ popd
$ mkdir -p build/csu
$ pushd build/csu
$ ../../csu/configure --host=arm-apple-darwin >/9.txt
$ make install >/10.txt
$ popd
$ mkdir -p build/llvm-gcc-4.0-iphone
$ pushd build/llvm-gcc-4.0-iphone
$ ../../llvm-gcc-4.0-iphone/configure --enable-llvm=`llvm-config --obj-root` \--enable-languages=c,c++,objc,obj-c++ --target=arm-apple-darwin --enable-sjlj-exceptions \--with-heavenly=$HEAVENLY --with-as=/usr/local/bin/arm-apple-darwin-as \--with-ld=/usr/local/bin/arm-apple-darwin-ld >/11.txt
$ make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn >/12.txt
$ make install >/13.txt
$ popd
$ popd
---======== Updating headers ===========----------
// # cd /usr/local/arm-apple-darwin/include
// # svn co
http://svn.berlios.de/svnroot/repos/.....;/trunk/include include
I downloaded from svn.berlios.de include folder, and copy over follow directory to /usr/local/arm-apple-darwin/include
architecture
arm
CarbonCore
Celestial
CoreSurface
CoreTelephony
GraphicsServices
LayerKit
mach
machine
MobileMusicPlayer
OpenGLES
sys
TelephonyUI
UIKit
vmutils
---======== TestingApps ===========----------
In TestApps dir you can find Lucas Newman's phonedemos with modified Makefile.
and HelloWorld App.
All compiles and tested on iPhone with 1.0.2.
Еxcept for NetServices, wich have some warnings when linking.
See build.output for details.
3. Дети -- это респект и уважуха, но если бы вы потратили
минут, то давно бы уже сидели дома с рабочим девкитом, и давно бы скомпилировали первую свою программу под iPhone