[fpc-pascal] FPC_ARMEL system calls

Luca Olivetti luca at ventoso.org
Wed Jun 4 21:25:20 CEST 2008


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



More information about the fpc-pascal mailing list