You need to use the -palmos3.5 switch to your command line. That makes gcc add all of the extra includes that are appropriate to the 3.5 sdk. In addition, I would recommend that you use the 4.0 sdk (in which case you would use -palmos4.0). You can still target 3.5 (or even 2.0) devices with the 4.0 sdk, and this is the "official" sdk that developers should be using. It will save you huge pain later if you start using the latest SDK today.
Finally, it appears that the prc-tools in debian/unstable is still only 0.5. This is woefully out of date, and probably won't support the 4.0 SDK correctly (the -palmos switch's implementation has changed). The latest tools at prc-tools.sourceforge.net are 2.1. If you plan to do any serious development for PalmOS, you need that version, or better yet the version from CVS. Plus, if you are going to do big projects that need multisegmenting, then there is an extra patch that lets gdb correctly work with multisegmented apps. I'm not sure if that patch has made it into cvs or not. I have some prc-tools .debs that are not debian-policy compliant; I can make them available on a by-request basis if anybody is interested. On Sun, 2001-10-14 at 15:44, Akintayo Holder wrote: > Hi, > I am trying to install the PalmOS 3.5 SDK on debian. And I am running > into a problem I cannot figure out from the gcc docs. > > The headers files in the palm SDK are arranged in a hierarchy e.g > PalmOS.h, Core/System/SystemPublic.h etc. But the files reference each > other as though there are all in the same directory, or rather in gcc's > search path. > > To recap > Directory structure > PalmOS.h > Core/System/SystemPublic.h > > In PalmOS.h > #include <SystemPublic.h> > > When I try to compile gcc complains that SystemPublic.h does not exist. > I have not been able to find a way to have gcc treat all the > subdirectories as part of its include path, or a way to include a > specific directory in the path. > > In the latter case I tried > m68k-palmos-coff-gcc -Wall -g -IDIR > '/usr/m68k-palmos-coff/include/PalmOS/Core/System/' -IDIR > '/usr/m68k-palmos-coff/include/PalmOS/Core/Hardware/' -c -o hello.o > hello.c > > but it failed. > > As always any help would be appreciated > > -- > Never in the world does hatred cease by hatred; hatred ceases by love. > -- Buddha > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- Dave Carrigan <[EMAIL PROTECTED]> "UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS-PalmOS-XML" Seattle, WA, USA http://www.rudedog.org/

