[fpc-pascal] FPC_ARMEL system calls
Henry Vermaak
henry.vermaak at gmail.com
Thu Jun 5 14:26:16 CEST 2008
2008/6/4 Nataraj S Narayan <natarajsn at gmail.com>:
> Hi Henry, Luca
>
> I got a 'ppcarm' after compiling the fpc-svn. I copied the pparm to the
> qemu-system-arm emulated machine and tried to compile a Helloworld.pas.
> fpc showed some errors related to FPU and stopped. Then i copied many *.o
> and *.ppu files from host to qemu machine. This time fpc compiled and linked
> the crt0.o and system.o and few other file, and the program worked.
>
> But when i copied to the actual target AT91SAM9263 , it wont work - just
> waits endlessly.
>
> strace in the target gives:-
>
> syscall(0x90004c,0x3,0xbebd6de8,0xbebd6df0,0x40000) = -1 EINTR (Interrupted
> system call)
>
the syscall number is wrong. this has been fixed in trunk, so you've
either copied the wrong files over, or you need to update and rebuild
fpc.
why don't you just cross-compile your program?
henry
More information about the fpc-pascal
mailing list