Matt,
Have you figured this out yet? If so, let me know what you did.
Mike McCollister
> ----------
> From: Matt West[SMTP:[EMAIL PROTECTED]]
> Reply To: [EMAIL PROTECTED]
> Sent: Thursday, November 25, 1999 4:42 PM
> To: Palm Dev Forum
> Subject: Include paths with gcc + Palm OS 3.5 Support
>
> Even though the 3.x SDKs have been out for a while, I have just stayed
> with
> the 2.0 SDK supplied with GCC. I have been experimenting with different
> bits
> of code taking it at a fairly easy-going pace, and listening and thinking
> about things people discuss here.
>
> Now that the colour stuff in Palm OS 3.5 has been announced, I am really
> excited about it, and I want to start experimenting with the new colour
> handling APIs, and colour bitmaps.
>
> I'm trying to get the Palm OS 3.5 SDK working with the sample code. So
> following Jan Vereecke's advice (18-Nov-1999), I:
> (a) unzipped palmos35-bld20-support.zip into a new folder under
> m68k-palmos-coff\include called "PalmOS 3.5 Support"
> (b) modified
> "lib\gcc-lib\m68k-palmos-coff\2.7.2.2-kgpd-071097\include\PalmOS" file to
> have
> "!<symlink>../../../../../m68k-palmos-coff/include/PalmOS 3.5
> Support/Incs"
> (this is where PalmOS.h is)
> (c) made a test program (test.c and test.h) which look remarkably like
> Test35 in the SDK pre-alpha :) I've cobbled a resource file together for
> pilrc to work on (test.rcp), but unfortunately I don't get that far. I get
> errors when trying to make it:
>
> m68k-palmos-coff-gcc -O0 -g -c test.c -o test.o
> In file included from
> D:\PALM\GNU\lib\gcc-lib\m68k-palmos-coff/2.7.2.2-kgpd-0710
> 97/include/PalmOS/PalmOS.h:27,
> from test.c:26:
> D:\PALM\GNU\lib\gcc-lib\m68k-palmos-coff/2.7.2.2-kgpd-071097/include/PalmO
> S/
> Palm
> Types.h:156: M68KHwr.h: No such file or directory
> In file included from test.c:26:
> D:\PALM\GNU\lib\gcc-lib\m68k-palmos-coff/2.7.2.2-kgpd-071097/include/PalmO
> S/
> Palm
> OS.h:28: SystemPublic.h: No such file or directory
> D:\PALM\GNU\lib\gcc-lib\m68k-palmos-coff/2.7.2.2-kgpd-071097/include/PalmO
> S/
> Palm
> OS.h:29: UIPublic.h: No such file or directory
> test.c:27: UIControls.h: No such file or directory
> make: *** [test.o] Error 1
>
> Line 26 in test.c is the include for PalmOS.h
> Why can't it find M68KHwr.h and the others in other directories? What am I
> doing wrong?
>
> I have had a look at http://www.acm.rpi.edu/~albert/pilot/Sep98/0124.html
> Could all my problems be cured by adding -iprefix option somewhere in my
> makefile? If this is the case, could someone kindly spell it out to me
> (makefiles aren't my strong point) ?
>
> I've tried changing the symlink in the "PalmOS" file to the 3.5 SDK
> pre-alpha folders, but its just the same error. Also, I've tried copying
> those files it can't find into the folder (hey, I'm desperate!); but then
> it
> falls over on all the little headers *they* include (of course!).
>
> I'm using gcc 0.5.0 on Win95b, with Palm OS 3.5 SDK. When I eventually get
> this damn thing built, I'll be executing it on pose30a3 with the build 20
> Colour ROMs :)
>
> Is anyone out there who has the 3.5 stuff working with gcc on Win95?
>
> I promise this is the longest post I'll ever do :)
>
> Matt West
> Cloak Software
> http://www.cloak.freeserve.co.uk
>
>
>