version.h Header File

Header File Index

Constants describing the version number of GCC4TI

 Constants
__TIGCC__
The GCC4TI major version number, like __GNUC__.
__TIGCC_BETA__
The GCC4TI beta version number; 0 in the official release.
__TIGCC_MINOR__
The GCC4TI minor version number, represented by a two-digit decimal number.
__TIGCC_SP__
The GCC4TI service pack number; 0 in most cases.
__TIGCC_VERSION__
The full GCC4TI version number, as an integer value concatenating __TIGCC__ and __TIGCC_MINOR__.
__TIGCC_VERSION_STRING__
A string constant describing the GCC4TI version number in a unified format.
__TIGCCLIB__
The GCC4TI Library major version number.
__TIGCCLIB_MINOR__
The GCC4TI Library minor version number, represented by a two-digit decimal number.
__TIGCCLIB_SP__
The GCC4TI Library service pack number; 0 in most cases.
__TIGCCLIB_VERSION__
The full GCC4TI library version number, as an integer value concatenating __TIGCCLIB__ and __TIGCCLIB_MINOR__.
__TIGCCLIB_VERSION_STRING__
A string constant describing the GCC4TI Library version number in a unified format.

You can embed the version strings into your program by defining the preprocessor symbol EMBED_VERSION_STRINGS before including this header file or tigcclib.h.

If you want to check whether a program is compiled with TIGCC/GCC4TI, you cannot use the __TIGCC__ macro, since this header file does not exist in other libraries. For this reason, there is a global preprocessor symbol __TIGCC_ENV__.