A slightly late answer for anyone like me who is searching for the same...

http://kb.palmsource.com/cgi-bin/palmsource.cfg/php/enduser/std_adp.php?p_faqid=260

'''Note to Codewarrior users'''

The best way to determine which files can go into segments other than  
segment 1 is to:
* comment out the code in PilotMain() that handles the  
sysAppLaunchCmdNormalLaunch command
* select the "Generate Link Map" option from the "68K Linker" preferences  
in your project
* rebuild
Any file that shows up in the link map on a line beginning with "Code:"  
must be in the first segment. The link map file is created in the same  
folder as your project and ends in ".map". Double-click its icon to view  
the link map. The map includes some functions that the OS usees, you can  
ignore these functions (most begin and end with two underscore characters  
ie:




On Thu, 18 Aug 2005 06:01:15 +0100, mguo <[EMAIL PROTECTED]> wrote:

> my program is having some crash which is caused by accessing functions  
> in segment 2 while globals are not available.
> I wonder, is there any good way to identify the functions which can be  
> called while globals are not available, so that they must be in segment  
> 1. Any pragma or some other tools available?
>
> Thanks
> -mguo
>


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to