Hello all.
I've been trying to get prc-tools 2.0 working on my Win95 box, along
with the 3.5a2 SDK. I've searched all the help I can find, including
the archives of this list, and pilot.programmer.gcc, and followed all
the suggestions. The problem is that the compiler cannot find the SDK
include files.
If I execute the mount command, I get this (I'm showing only the
pertinent stuff):
C:\temp /tmp
D:\Program Files\PRC-Tools /prc-tools
D:\cygnus\cygwin-b20\H-I586-cygwin32\bin /bin
D:\PalmDev /PalmDev
>From this you can see where I chose to install things. In my /PalmDev
directory I created a symlink using the following commands:
cd /PalmDev
ln -s palmos35sdk_win sdk
The result is that if I do 'ls /PalmDev/sdk' I get
CodeWarrior Support Installer Palm OS Extras
Constructor Overlay Tools PalmDebugger
Documentation PQA Builder
Examples Palm OS 3.5 Support
In my main.c file I am #including <PalmCompatibility.h> and <PalmOS.h>I
have the prc-tools bin directory in my path. Now, when I invoke the
compiler, I get the following:
main.c:52: Palmcompatibility.h: No such file or directory
main.c:53: PalmOS.h: No such file or directory
I've tried adding the -palmos3.5 switch to the compiler, so that it
gets invoked as
m68k-palmos-gcc -palmos3.5 -g -Wall -c main.c -o main.o
and still no luck. Interestingly, I am also including <stddef.h> and
the compiler does not complain about that one. I've made sure that I'm
actually invoking the right compiler by using bash's type command:
$ type m68k-palmos-gcc
m68k-palmos-gcc is //D/PROGRA~1/PRC-TO~1/H-I586~1/BIN/m68k-palmos-gcc
Can anybody give me a clue as to which part of my configuration is
wrong? Thanks!
--
Roger Chaplin
<[EMAIL PROTECTED]>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html