On 2006-08-30, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > When I run palmdev-prep in Cygwin, it's unable to open CoreTraps.h, although > the file is there. This is occurring after a fresh PODS install. Any > help would be appreciated. > > palmdev-prep > Checking SDKs in /PalmDev > sdk-4 headers in 'include', libraries in 'lib' > sdk-5r4 headers in 'include', libraries in 'lib' > sdk-6.1 INVALID -- no headers > > When GCC is given no -palmos options, SDK '5r4' will be used by default > > Writing SDK details to configuration files... > palmdev-prep: warning: can't open '/PalmDev/sdk-5r4/include/Core/CoreTraps.h': > No error > ...done >
For PODS you can safely ignore this. palmdev-prep tries to generate the file /usr/share/prc-tools/trapnumbers from CoreTraps.h. This file is used by the prc-tools utility m68k-palmos-trapfilt. See http://prc-tools.sourceforge.net/doc/prc-tools_6.html#SEC38 . If you do not use this utility (PODS does not need it) there is no problem. If you want to use m68k-palmos-trapfilt then read on. The generation of /usr/share/prc-tools/trapnumbers in palmdev-prep fails because one of the checks for the size of CoreTraps.h fails. This is due to the usual Cygwin confusion between text mounted and binary mounted files. Normally /PalmDev is mounted as text. This implies automatic conversion between \r\n <-> \n but causes problems when looking at the size of a file. Workaround: convert CoreTraps.h to \n style line-endings using dos2unix. If you then run palmdev-prep again the trapnumbers file will be generated. HTH Ton van Overbeek -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
