Thank you Ken.
I readed your article "PalmOS Shared-Library Globals". But I creating a
shared library on the basis of regular apps. With a bit of hacking on the
Metrowerks startup code i get global data, but i need to force compiler to
generate code using for the reference to global data a register A4 instead
of A5 (Mainly this necessary for initialize creating C++ objects reference
to VTBL ). It's possible?

Alexander Zuev.


> -----Original Message-----
> From: Ken Krugler [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 17, 2001 1:36 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: A4 instead of A5
>
>
> >Is it possible to force the compiler CW6 to use for the
> reference to global
> >data a register A4 instead of A5?
>
> If you're creating a shared library, then yes it's possible. With a
> bit of hacking on the Metrowerks startup code you could probably also
> make it work for regular apps.
>
> -- Ken
>
> Ken Krugler
> TransPac Software, Inc.
> <http://www.transpac.com>
> +1 530-470-9200
>


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