Whole document tree
    

Whole document tree

Using PRC-Tools: New options
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.1 Palm OS-specific GCC options

GCC for Palm OS supports the following options, in addition to all the usual target-independent and M68K-specific options.

-mpcrel
Activate Palm OS-specific code generation patterns. This is turned on by default in the specs file; don't ever turn it off!

-mdebug-labels
Put each function's name into the text section immediately after the function's code, in MacsBug format.

-mextralogues
Activate extralogue attributes. See section 2.3 The extralogue attribute and entry points.

-mown-gp
Access global data via the A4 register, and activate owngp attributes. By default, global data are accessed via A5, and owngp attributes have no effect. See section 2. Global data.

This option implies `-mextralogues'.

-palmosN
Select system header files and libraries for Palm OS SDK version N. By default, the SDK selected by the `sdk' symlink in the PalmDev directory (usually `/opt/palmdev' or `C:\PalmDev') will be used.

This option is not handled by GCC directly, but rather via the sdkfind utility (see section 6.5 sdkfind).

There is also a `-mno-X' option corresponding to each of the `-mX' options, but you shouldn't ever need to use them.



This document was generated by root on January, 30 2002 using texi2html