Thanks, John

Can you please be more specific ?
Is placing file into a section isn't supported
by ld, or this is multigen-only problem ?

Assuming ld supports 'section for a file'
while multigen doesn't (which is how it
appears to be), I can let multigen to
create an ld script once, and modify it with
placing file names manually.

Will it work OK if I don't specify sections
for static functions, or in this case all
static functions will go to the root segment ? 

M-

P.S. Looks like (but hardly believable !)
nobody was trying to create a 'real-life'
multisegment app in plain C, otherwise
he/she would inevitably come to the same
problem. 

Again, can someone help me with manual
assembler stubs, as an alternative ?


-----Original Message-----
From: John Marshall [mailto:[EMAIL PROTECTED]]
Sent: Friday, 7 December 2001 8:59 PM
To: Palm Developer Forum
Subject: Re: Using multigen for placing a whole source file into a
segment


On Fri, Dec 07, 2001 at 10:27:58AM +1100, Michael Glickman wrote:
> I want not to worry about the section
> for local functions, provided the whole file goes into
> same section (while a section can have several files).
> 
> LD script allows to specify a section for a source file,

RTFM.  This currently doesn't work on Palm OS.

    John

-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to