[ < ] [ > ]   [ << ] [ 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 as the default SDK the last time palmdev-prep was run will be used (see section 6.5 palmdev-prep).

-palmos-none
Don't add any Palm OS SDK directories or other directories from any PalmDev trees to the include and library search paths.

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 Build Daemon user on July, 29 2004 using texi2html