At 10:27 11/01/2001 -0500, you wrote:
<snip >
>If you have a single target (called Starter?) then the application you debug
>is also the application you distribute.
<snip>
> > Are there two ways to build the .prc? Is the file that gets loaded for a
> > debug session the same one that should/is normally distributed? How can
> > you tell the difference?
You can also use build time defines like BUILD_DEBUG or something, you can
set them in CodeWarrior's compiler's preferences or -DBUILD_DEBUG parameter
to gcc. In your source code:
#ifdef BUILD_DEBUG
// do some stuff that is only relevant to the debug build
#endif
#ifndef BUILD_DEBUG
// do some stuff that is only relevant to the release build
#endif
// common code
//
// etc
Igor M-)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/