Hello to all PRC developers.

If you use C++, you just specify a section for a class,
so that all properties and methods get it automatically.

I 'plan C' the situation is far more complex:
you have a considerable number of variables and functions
and specifying section for each is a very routine process.

Typically only few of functions are really global,
the majority are local to the source file (static in
C terminology). 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,
but standard technique suggests that ld script is generated
by multigen, and I can't find a way to instuct multigen to
set a section for a file.

Thanks for your anticipated comments.
Michael

-- 
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