Setting the GCC ELF-compatible compiler version to use
You can control the GNU Compiler Collection (GCC) version to use by setting a variable in the maketpf configuration file.
Before you begin
Procedure
-
In the maketpf configuration file (maketpf.cfg), define the compiler to
use by setting the MAKETPF_COMPILER variable to GNU
(
MAKETPF_COMPILER := GNU).GNU is the default. -
Define the compiler version to use by setting the TPFGCC_VERSION
variable.
For example,
TPFGCC_VERSION := 7. The default is determined by querying the version that is found in the PATH environment variable.