On Wed, Mar 27, 2002 at 02:34:17PM -0500, [EMAIL PROTECTED] wrote:
> I have never tested this installation, from the command line. That would
> require making a makefile for my application; something that I don't look
> forward to.
No makefile required, just a little imagination.
> Is there an easy to test such an installation, with something
> that is included in the installation process?
Create a file "foo.c":
#include <PalmOS.h>
UInt32 PilotMain (UInt16 a, void *b, UInt16 c) { return 0; }
and you should get no warnings or errors of any kind when you compile it
with (add -palmos3.5 etc to taste to the first line)
m68k-palmos-gcc -o foo foo.c
build-prc -n footest -c DUMB foo
and you should end up with a foo.prc that you can install and even run
-- it won't crash, but it won't do anything interesting either.
> It would be of use to have a test program or some test program in the
> PalmDev folder that one could simply execute that would test the
> installations to make sure everything works without having to go through
> the process of generating a makefile.
There are several example projects available from the prc-tools
homepage. Several of the examples in the Palm OS SDK are buildable with
prc-tools out of the box. As Chris and Aaron noted, there are lots of
other examples around. This is also a value-add opportunity for a
prc-tools-based IDE: for example, Falch.net DeveloperStudio comes with
sample projects, and I trust the IDE you're using does too.
John
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/