Hi Guys, I'm a complete non-expert when it comes to Palm stuff so this could be a complete red herring or even complete garbage but it looks like you may be porting code to an ARM architecture from one which wasn't an ARM architecture. Whilst I have never done any Palm stuff I have ported non-ARM stuff to ARM stuff and the biggest problem I had was that the ARM insisted on memory accesses being aligned on 4 byte boundaries. Some of the errors I've seen reported look like this may be what is happening.
Here is an example of something which needed changing (I've replaced the variable names with their types to make the code make more sense in isolation) #ifdef __ARM memcpy(ptrUnsignedChar+c_nOffset, &UnsignedShort, sizeof(UnsignedShort)); #else *((unsigned short*)(ptrUnsignedChar+c_nOffset)) = UnsignedShort; #endif This code copies an unsigned short into a byte array at an arbitrary position and the ARM code had to use memcpy but the non-ARM code could just cast to the relevant pointer. Sorry if this is either old news or not relevant but I thought it may help. Cheers Tim _______________________________________________ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev