13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>TASKING</strong> <strong>VX</strong>-<strong>toolset</strong> <strong>for</strong> <strong>ARM</strong> <strong>User</strong> <strong>Guide</strong>Macro__<strong>ARM</strong>____BIG_ENDIAN____BUILD____C<strong>ARM</strong>____CPU____CPU_arch____DATE____DOUBLE_FP____DSPC____DSPC_VERSION____FILE____FPU_fpu____FPU_VFP____LINE____LITTLE_ENDIAN____PROF_ENABLE____REVISION____SINGLE_FP____STDC____STDC_HOSTED__DescriptionExpands to 1 <strong>for</strong> the <strong>ARM</strong> <strong>toolset</strong>, otherwise unrecognized as macro.Expands to 1 if big-endian mode is selected (option --endianness=big),otherwise unrecognized as macro.Identifies the build number of the compiler, composed of decimal digits <strong>for</strong>the build number, three digits <strong>for</strong> the major branch number and three digits<strong>for</strong> the minor branch number. For example, if you use build 1.22.1 of thecompiler, __BUILD__ expands to 1022001. If there is no branch number,the branch digits expand to zero. For example, build 127 results in127000000.Expands to 1 <strong>for</strong> the <strong>ARM</strong> <strong>toolset</strong>, otherwise unrecognized as macro.Expands to the <strong>ARM</strong> architecture name (option --cpu=arch).When no --cpuis supplied, this symbol is not defined. For example, if --cpu=<strong>ARM</strong>v7M isspecified, the symbol __CPU__ expands to <strong>ARM</strong>v7M.A symbol is defined depending on the option --cpu=arch. The arch isconverted to upper case. For example, if --cpu=<strong>ARM</strong>v7M is specified, thesymbol __CPU_<strong>ARM</strong>V7M__ is defined.When no --cpu is supplied, this symbol__CPU_<strong>ARM</strong>V7M__ is the default.Expands to the compilation date: “mmm dd yyyy”.Expands to 1 if you did not use option --no-double (Treat ‘double’ as ‘float’),otherwise unrecognized as macro.Indicates con<strong>for</strong>mation to the DSP-C standard. It expands to 1.Expands to the decimal constant 200001L.Expands to the current source file name.A symbol is defined depending on the option --fpu=fpu.The fpu is convertedto upper case and the lower case “v" and the '-' will be removed. For example,if --fpu=VFPv3-sp is specified, the symbol __FPU_VFP3SP__ is defined.When no --fpu is supplied, the symbol __FPU_NONE__ is the default.Expands to 1 if one the options --fpu=fpu is specified and fpu is not NONE.Expands to the line number of the line where this macro is called.Expands to 1 if little-endian mode is selected (option --endianness=little),otherwise unrecognized as macro. This is the default.Expands to 1 if profiling is enabled, otherwise expands to 0.Expands to the revision number of the compiler. Digits are represented asthey are; characters (<strong>for</strong> prototypes, alphas, betas) are represented by -1.Examples: v1.0r1 -> 1, v1.0rb -> -1Expands to 1 if you used option --no-double (Treat ‘double’ as ‘float’),otherwise unrecognized as macro.Identifies the level of ANSI standard. The macro expands to 1 if you setoption --language (Control language extensions), otherwise expands to 0.Always expands to 0, indicating the implementation is not a hostedimplementation.20

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!