do you define any proccedure for this section ? e.g. void stop_app(void) MYNEW_SECTION;
and try this in your def file, may be problem in here.
multiple code { "mynew" }epross wrote:
I am using PRC-Tools, and am following the directions at http://prc-tools.sourceforge.net/doc/prc-tools_3.html under "3.2.2 Breaking up an existing application"
My project already had multiple code resources and all I am trying to do is add another one. This is what I did thus far:
- In MyApp.def, I added the segment name to the 'multiple code { mynew }' line
- (I can see the new section in the MyApp-sections.s file and the MyApp-sections.ld file)
- In my sections.h file I have added an entry like this:
ifndef MYNEW_SECTION define MYNEW_SECTION __attribute__ ((section ("mynew"))) endif
When I compile the application, I get the following error:
"unknown code section 'mynew'
Did I miss something?
Edward
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
