Hi I get the following strace out put when executing a fpc cross compiled binary using ppcrossarm (generated from latest fpc svn using following script :-
#!/bin/bash ALLOPTS="CPU_TARGET=arm OS_TARGET=linux BINUTILSPREFIX=arm-linux- CROSSBINDIR=/home/nataraj/arm-2008q1/bin FPC=/usr/local/bin/ppc386 INSTALL_PREFIX=/usr" make clean crossall $ALLOPTS OPT="-dFPC_ARMEL" && \ sudo make -k crossinstall $ALLOPTS OPT="-dFPC_ARMEL" [EMAIL PROTECTED]:~$ strace ./kam execve("./kam", ["./kam"], [/* 11 vars */]) = 0 syscall(0x90004c, 0x3, 0xbe809de8, 0xbe809df0, 0x40000) = -1 EINTR (Interrupted system call) syscall(0x9000ae, 0x8, 0x18da4, 0, 0x8) = -1 EINTR (Interrupted system call) syscall(0x9000ae, 0xb, 0x18da4, 0, 0x8) = -1 EINTR (Interrupted system call) syscall(0x9000ae, 0x7, 0x18da4, 0, 0x8) = -1 EINTR (Interrupted system call) syscall(0x9000ae, 0x4, 0x18da4, 0, 0x8) = -1 EINTR (Interrupted system call) syscall(0x900036, 0x1, 0x5401, 0xbe809cac, 0x17348) = -1 EINTR (Interrupted system call) syscall(0x900036, 0x2, 0x5401, 0xbe809cac, 0x170f4) = -1 EINTR (Interrupted system call) syscall(0x900036, 0x1, 0x5401, 0xbe809cac, 0x177f0) = -1 EINTR (Interrupted system call) syscall(0x900036, 0x2, 0x5401, 0xbe809cac, 0x17a44) = -1 EINTR (Interrupted system call) syscall(0x900055, 0xe494, 0x18ca5, 0xff, 0xbe7c9e54) = -1 EINTR (Interrupted system call) syscall(0x900004, 0x1, 0x17498, 0x8, 0x1) = -1 EINTR (Interrupted system call) syscall(0x900004, 0x1, 0x17498, 0x8, 0x1) = -1 EBADF (Bad file descriptor) _exit(0) My ARM Linux kernel is on Atmel AT91SAM9263 is Linux at91sam9263ek 2.6.25 #34 Sat Jun 7 20:02:51 IST 2008 armv5tejl unknown I use bin utils from CodeSourcery for cross compiling EABI kernel as well as fpc. The kernel is compiled with CONFIG_AEBI=y CONFIG_ARM_THUMB=y But I am not able to enable OABI_COMPAT=y. Why dont my binary work on the Arm board? What else is to be done? regards Nataraj _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal