je me permet de vous écrire car je cherche desepérément à linker une application Helloworld sur un ipod touch 1G avec un OS 3.0 .
J'ai installé GNU GCC, les Headers, CSU, Libgcc, la compilation marche très bien par contre pour linker, il ne trouve pas les librairies et les frameworks sachant que j'ai bien des librairies /usr/lib et /system/library/frameworks/CoreFoundation.framework et les autres . voir copy d'écran de l'ipod touch :
Using username "root".
root@192.168.1.53's password:
mama:~ root# cd /var
mama:/var root# cd mobile
mama:/var/mobile root# cd src
mama:/var/mobile/src root# cd Helloworld
-sh: cd: Helloworld: No such file or directory
mama:/var/mobile/src root# cd HelloWorld
mama:/var/mobile/src/HelloWorld root# make
arm-apple-darwin9-gcc -v -arch arm -w -g -F"/private/var/include" -framework Foundation -framework UIKit -framework QuartzCore -framework CoreGraphics -framework GraphicsServices -framework CoreSurface -framework CoreAudio -L"/usr/lib" -L"/usr/lib/gcc/arm-apple-darwin9/4.2.1" -lSystem -F"/private/var/mobile/Library/Frameworks" -F"/System/Library/PrivateFrameworks" -bind_at_load -multiply_defined suppress -o HelloWorld Classes/HelloWorldApp.o Classes/main.o -lobjc
Using built-in specs.
Target: arm-apple-darwin9
Configured with: ../llvm-gcc-4.2/configure --build=x86_64-unknown-linux-gnu --host=arm-apple-darwin9 --enable-static=no --enable-shared=yes --prefix=/usr --localstatedir=/var/cache/iphone-gcc --enable-languages=c,c++,objc,obj-c++ --enable-wchar_t=no --with-gxx-include-dir=/usr/include/c++/4.0.0
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5555)
/usr/libexec/gcc/arm-apple-darwin9/4.2.1/collect2 -dynamic -arch arm -force_cpusubtype_ALL -bind_at_load -aspen_version_min 2.0 -multiply_defined suppress -weak_reference_mismatches non-weak -w -o HelloWorld -lcrt1.10.5.o -L/usr/lib -L/usr/lib/gcc/arm-apple-darwin9/4.2.1 -L/usr/lib/gcc/arm-apple-darwin9/4.2.1 -L/usr/lib/gcc/arm-apple-darwin9/4.2.1 -L/usr/lib/gcc/arm-apple-darwin9/4.2.1/../../.. -framework Foundation -framework UIKit -framework QuartzCore -framework CoreGraphics -framework GraphicsServices -framework CoreSurface -framework CoreAudio -lSystem Classes/HelloWorldApp.o Classes/main.o -lobjc -lgcc_s.10.5 -lgcc -lSystem -F/private/var/include -F/private/var/mobile/Library/Frameworks -F/System/Library/PrivateFrameworks
ld: framework not found Foundation
collect2: ld returned 1 exit status
make: *** [HelloWorld] Error 1
mama:/var/mobile/src/HelloWorld root#
Si quelqu'un peut m'éclairer, je serai aux anges . Je me demande si il a bien les bons frameworks et les bonnes librairy pour le link car pour la compil cela marche impec
Merci par avance de votre réponse