"McCollister, Mike" <[EMAIL PROTECTED]> wrote:

> Yes I am using PalmOS gcc / prc-tools-0.5.0 (Win32). Can this be fixed with
> my current version of the compiler? Is this something that can be fixed with
> the CALLBACK_PROLOGUE and CALLBACK_EPILOGUE that I have seen in some source
> code?

If you need a solution in five minutes and you are not using GLibs or any other
gcc features that are not available with CW, i.e., if you have a CW-style
project using gcc, put CALLBACK_PROLOGUE and CALLBACK_EPILOGUE on your
PilotMain, which will defeat gcc's smart data segment management mechanism and
make it work dumb like in CW. If you need a solution in two days, by the end of
this weekend I should have a quite usable beta distribution of my new version
of PalmOS gcc.

> Thanks so much for your description.

You are welcome.

--
Michael Sokolov                         2695 VILLA CREEK DR STE 240
Software Engineer                       DALLAS TX 75234-7329 USA
JP Systems, Inc.                        Phone: +1-972-484-5432 x247
                                            or +1-888-665-2460 x247
E-mail: [EMAIL PROTECTED]    Fax:   +1-972-484-4154

Reply via email to