Compiler requirements

A z/TPF-compatible compiler, built as a cross-compiler for the z/TPF system, is required.

You can get a z/TPF-compatible compiler in one of the following ways:
  • Get the GCC through IBM. The GCC and associated service are available through a GCC Compiler Support Offering. This is a billable offering that is available through IBM; compiler support is available by using the same process that is used to support the z/TPF system. For more information about the GCC Compiler Support Offering, see your IBM® Support representative.
  • Get a compiler from a third-party vendor. There is one third-party vendor, Dignus, that is known to have a compiler offering that works with the z/TPF system. The solution that is offered by Dignus has been tested by IBM. Service for the Dignus solution is available directly from Dignus. For more information about the Dignus Systems/C and Systems/C++ compilers, see the Dignus website.
  • Get the GNU Compiler Collection (GCC) from the Free Software Foundation (FSF). This option is not recommended because there are no instructions to guide you on which files to download from the FSF, where to find required maintenance, or the procedures to build the compiler.
Table 1 summarizes the GCC level that IBM begins to use in production with the specified APAR or product update level. If you are using the GNU Compiler Collection (GCC), be sure to get the version of z/TPF sysroot file that corresponds to the compiler that you are using. You can download the z/TPF sysroot file that you need from the TPF Family Products: Tools website.
Table 1. GCC level by APAR and product update
APAR number Product update level GCC level
N/A PUT 14 GCC 4.1.2 or 4.6.3 (version tpf-11r1-15)
N/A PUT 15 GCC 4.6.3 (version tpf-11r1-16)
N/A 2019 GCC 4.6.3 (version tpf-11r1-16) or 7.3.0 (version tpf-17r1-2)
APAR PJ46042 2020 GCC 4.6.3 (version tpf-11r1-16) or 7.3.0 (version tpf-17r1-3)
APAR PJ46318 2020 GCC 4.6.3 (version tpf-11r1-16) or 7.3.0 (version tpf-17r1-4)
APAR PJ46408 2021 GCC 4.6.3 (version tpf-11r1-16) or 7.3.0 (version tpf-17r1-5)
APAR PJ46804 2022 GCC 4.6.3 (version tpf-11r1-16) or 7.3.0 (version tpf-17r1-6)
APAR PJ46997 2023 GCC 4.6.3 (version tpf-11r1-16) or 7.3.0 (version tpf-17r1-7)
APAR PJ47248 2024 GCC 7.3.0 (version tpf-17r1-7)
Table 2 summarizes the Dignus Systems/C compiler (DCC) and Systems/C++ compiler (DCXX) levels that IBM begins to use in production with the specified APAR or product update level. If you are using the Systems/C and Systems/C++ compilers, no additional z/TPF files are necessary other than the installation package that is provided by Dignus.
Table 2. DCC level by APAR and product update
APAR number Product update level DCC and DCXX level
N/A PUT 14 DCC and DCXX V1.98 (version 1.98.87)1
N/A PUT 15 DCC and DCXX V1.98 (version 1.98.92)
N/A 2019 DCC and DCXX V1.98 (version 1.98.92)
APAR PJ46531 2022 DCC and DCXX V2.25 (version 2.25.24)
APAR PJ46814 2022 DCC and DCXX V2.25 (version 2.25.29)
APAR PJ46962 2023 DCC and DCXX V2.25 (version 2.25.32)
APAR PJ46990 2023 DCC and DCXX V2.25 (version 2.25.41)
Note:
  1. If you apply APAR PJ44698 (shipped with PUT 14) and you use the Systems/C and Systems/C++ compilers, ensure that you are using the 1.98.87 version or later of the compilers.