En/na Luca Olivetti ha escrit:

runs but it doesn't print anything, neither under scratchbox nor on the tablet.

Thanks to Henry Vermaak I rebuilt the cross compiler with -O- and now it prints "hello" :-)


I'm trying to cross-compile the gtk2 example but it seems the compiler is ignoring -Xd and -Xr:


Well, the compiler it's passing as -rpath what I put in -Xr but the linker is ignoring it (at least it seems so).

Anyway, I tried passing -k'L /path/where/I/copied/all/the/target/libraries' and it's progressing (it isn't finding some libraries that are there, like libc) but I see a bunch of messages like these:

/home/luca/crossbinutils/bin/armel-linux-ld: ERROR: Source object /scratchbox/users/luca/targets/CHINOOK_ARMEL/pippo/libgobject-2.0.so has EABI version 4, but target packages/gtk2/examples/helloworld/helloworld has EABI version 0 /home/luca/crossbinutils/bin/armel-linux-ld: failed to merge target specific data of file /scratchbox/users/luca/targets/CHINOOK_ARMEL/pippo/libgobject-2.0.so /home/luca/crossbinutils/bin/armel-linux-ld: ERROR: Source object /scratchbox/users/luca/targets/CHINOOK_ARMEL/pippo/libglib-2.0.so has EABI version 4, but target packages/gtk2/examples/helloworld/helloworld has EABI version 0 /home/luca/crossbinutils/bin/armel-linux-ld: failed to merge target specific data of file /scratchbox/users/luca/targets/CHINOOK_ARMEL/pippo/libglib-2.0.so


Bye
--
Luca
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to