22.12.2012 Views

z/TPF Program Management - IBM

z/TPF Program Management - IBM

z/TPF Program Management - IBM

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.

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

Setting the GCC ELF-compatible compiler version to use<br />

You can control the GNU compiler collection (GCC) version to use by setting a<br />

variable in the maketpf configuration file.<br />

Before you begin<br />

Your administrator must have customized the tpftools/include_ztpf/<br />

maketpf_rules_cfg_REDHAT file to support more than one version of the GCC<br />

compiler.<br />

Procedure<br />

1. In the maketpf configuration file (maketpf.cfg), define the compiler to use by<br />

setting the MAKE<strong>TPF</strong>_COMPILER variable to REDHAT (MAKE<strong>TPF</strong>_COMPILER :=<br />

REDHAT). REDHAT is the default.<br />

2. Define the compiler version to use by setting the <strong>TPF</strong>GCC_VERSION variable.<br />

For example, <strong>TPF</strong>GCC_VERSION := 41 or <strong>TPF</strong>GCC_VERSION := 46. The default is<br />

determined by querying the version that is found in the PATH environment<br />

variable.<br />

“Build the GNU compiler collection for the z/<strong>TPF</strong> system” on page 45<br />

“Unpack the GNU compiler collection for the z/<strong>TPF</strong> system” on page 49<br />

© Copyright <strong>IBM</strong> Corp. 2005, 2012 55

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

Saved successfully!

Ooh no, something went wrong!