Here's how I got the iQue R3 SDK to compile with gcc. I don't understand any of what I did, but it worked.
First I put #define __MC68K__ #include "GPSLib68K.h" to get the header files. (The MC68K was a hint from Garmin developer support, back in the days when they were still answering email.) Then I replaced the enums in the trap definitions with #defines. #define gpsLibTrapClose (sysLibTrapCustom) #define gpsLibTrapGetLibAPIVersion (sysLibTrapCustom+1) and so on. That was enough to get the GPS part working. Now let's talk about the power manager headers. I had to play the same game replacing enum with the #defines. Then for some reason it wasn't working until I loaded the power header after the GPS: #define __MC68K__ #include "GPSLib68K.h" #include "PwrMgrLib68K.h" - Walt Bilofsky -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
