MiG™
11-30-2007, 10:37 AM
So i finally got the toolchain installed, but now when I compile it in Cygwin, I get this:
$ make
arm-apple-darwin-gcc -c hello.m -o hello.o
arm-apple-darwin-gcc -c HelloApplication.m -o HelloApplication.o
arm-apple-darwin-gcc -lobjc -framework CoreFoundation -framework Foundation -fra
mework UIKit -framework LayerKit -o Hello hello.o HelloApplication.o
/usr/local/bin/arm-apple-darwin-ld: /usr/local/share/iphone-filesystem/usr/lib/l
ibstdc++.6.dylib truncated or malformed object (mach header extends past the end
of the file)
collect2: ld returned 1 exit status
make: *** [Hello] Error 1
Fixed the symlinks numerous times now, opened up the offending file but no joy.
Any ideas?
$ make
arm-apple-darwin-gcc -c hello.m -o hello.o
arm-apple-darwin-gcc -c HelloApplication.m -o HelloApplication.o
arm-apple-darwin-gcc -lobjc -framework CoreFoundation -framework Foundation -fra
mework UIKit -framework LayerKit -o Hello hello.o HelloApplication.o
/usr/local/bin/arm-apple-darwin-ld: /usr/local/share/iphone-filesystem/usr/lib/l
ibstdc++.6.dylib truncated or malformed object (mach header extends past the end
of the file)
collect2: ld returned 1 exit status
make: *** [Hello] Error 1
Fixed the symlinks numerous times now, opened up the offending file but no joy.
Any ideas?
