Hi George,
   
  First group of the Segment" means the top most segment in Segment view. i.e. 
Segment 1
   
  The linker creates the first segment, segment 0, which contains instructions 
and data the operating system uses at runtime for loading and preparing other 
segments in the application for execution. This segment does not appear in the 
Segments page of the Project window. 
  The next segment, segment 1, contains startup code and application code. This 
segment must contain the following items: 
    

  -> the source code file containing the PilotMain() function
   
  
Regards,
  Ganesh Pisal
  www.skyscape.com
  email : [EMAIL PROTECTED]
   
  
Lin George <[EMAIL PROTECTED]> wrote:
  Thanks Ganesh,


>> Multi-segment applications require that runtime libraries and other startup 
>> code be in the first group of the Segment view of the Project window

"first group of the Segment" means the top most segment in Segment view? Or we 
need some settings in order to make it "first"?


regards,
George

----- Original Message ----
From: Ganesh Pisal 
To: Palm Developer Forum 

Sent: Tuesday, August 28, 2007 4:04:37 PM
Subject: re: multi segmentation application


George wrote:

>Hello everyone,


> I am using Code Warrior 9 and developing an application for Palm platform. 
> The size of application exceeds 64k and I want to make the application 
> multi-segment. In more details, I want to create multiple prc files. Do you 
> think this solution is workable?

> I have also searched Code Warrior 9 related documents, especially targetting 
> Palm document. But I can not find any detailed tutorials or samples of how to 
> devide the application into multiple segments. Are there any detailed 
> reference materials?


> thanks in advance,
> George


* To convert a single-segment application project into a multi-segment 
application project: 

1) Create a new build target for the multi-segment application.
In your Palm OS application project, create a new build target for the 
multi-segment application, copied from the single-segment application target. 
Creating the multi-segment application target this way ensures that you use the 
same files and settings used by the single-segment application. 

2) Change the multi-segment application build target settings.
Uncheck the Link Single Segment checkbox in the 68K Linker settings panel. 

3) Replace the runtime libraries.

4) Multi-segment applications use different runtime libraries and files than 
single-segment applications. 

5) Rearrange the link order in the Segments view of the Project window.
Multi-segment applications require that runtime libraries and other startup 
code be in the first group of the Segment view of the Project window

Regards,
Ganesh Pisal
www.skyscape.com
email : [EMAIL PROTECTED]

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



____________________________________________________________________________________
Sick sense of humor? Visit Yahoo! TV's 
Comedy with an Edge to see what's on, when. 
http://tv.yahoo.com/collections/222

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


       
---------------------------------
Need a vacation? Get great deals to amazing places on Yahoo! Travel. 
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to