Hi Imran,
I have some comments to add on your HOWTO-mini for developing
multi-segment applications with the prc-tools.
On Fri, 29 Apr 2005 17:24:08 +0100, imran baig wrote:
> To build a multi-section application
> 1. In makefile, set MULTIPLE_CODE_SECTIONS = TRUE
This does only mattter if the code used tests for MULTIPLE_CODE_SECTIONS.
> 4. Include this file in project sources.
... And run multigen on the .def file. When linking is done, feed the
linker with the created linker script.
> 5. Annotate each function with a section define like so:
> void DoWork() EXTRA_SECTION_ONE;
> void DrawForm() EXTRA_SECTION_TWO;
Again, these definitions have to be given somewhere.
> To effectively disable the multi-section annotations, just define these
> section macros to expand to nothing.
Fine, that's what you have from scratch.
Sorry, but in my opinion, the example given in the prc-tools-samples
package is much better. See the prc-tools web page for it. You can find it
in the download section.
Regards,
Thomas
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/