| __ld_calc_const_...

Previous | Symbols Built into the TIGCC Linker | Next

__ld_calc_const_constants, where constants is an underscore-separated list of positive integer values in decimal or hexadecimal notation (prefixed with `0x`), resolves to one of the values in constants. The actual value depends on the calculator belonging to the file that is generated. This feature adds the possibility to compile a program for multiple calculators at once and still generate different files for each calculator.
The order of the calculator-specific values in constants is as follows:

1. TI-92
2. TI-89
3. TI-92 Plus
4. V200

Values for calculators which the linker is currently not generating any output file for may be omitted. If a significant value is omitted, the value is assumed to be zero, and a warning is emitted.