Yet another desperate attempt to solve multigen problem.

Gcc info lists __attribute__ ((longcall)) as a possible
function attribute (you might prefer 'far', or '_far' keyword).

Altthough longcall is not implemented in m68k-palmos-gcc
it really makes sense there: it just means that gcc always
uses a JMP stub for this function. If you can have longcall
as a local option for a source file, like:

__LONGCALL__   FuncA, FuncB, ....

(while prototypes for FuncA and FuncB are in a header file)
it would be really perfect.

Withing current implementation you can also make it
by using __callseq__ or so. Did somebody try it ?


Please, help !
M-


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