Marc Weustink schrieb: > Luca Olivetti wrote: >> En/na Marc Weustink ha escrit: >> >>> From this I assume syscalls in this case are correct and I guess >>> there is some difference between syscall calling and library calling. >> >> Maybe openmoko as an eabi kernel compiled with oabi compatibility? >> (otherwise I think old style syscalls wouldn't work). >> And, I don't know if there are differences in library calling, but >> sure there are differences in structure alignment (especially if there >> are enums in the structures). > > > Yes, I know. But how can I tell the compiler that for syscalls oabi > alignment should be used and for libraries eabi ? > (assuming that is crashes on wrong alignment and that there is indeed > such difference)
You shouldn't. We simply need to fix -dFPC_ARMEL. _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives