If you're using GCC for Palm OS (prc-tools), see the section on stand-
alone code resources:
http://prc-tools.sourceforge.net/doc/prc-tools_3.html#SEC22
I usually name my entry function start(), rather than using the
linker directive.
On Feb 26, 2007, at 6:51 PM, Jeremy Brown wrote:
you need to ensure that the pointer you have actually points to the
code you want to execute. for example; dont try to execute data.
i hope your using gcc, as you can have much more control over
your binary generation :)
I think part of my problem is that the pointer I have actually does
NOT point to the code I want to execute, and may, in some cases, be
trying to execute data.
I looked in my code resources that were generated and they have
strings I use for debugging showing up at the top of the code
resource, and the actual code doesn't show up until later. I
assume this means that my .data is getting put before my .text
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/