-t

Category

Compiler customization

Pragma equivalent

None.

Purpose

Applies the prefix specified by the -B option to the designated components.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- -t--+-a-+--------------------------------------------------><
        +-b-+   
        +-c-+   
        +-d-+   
        +-E-+   
        +-I-+   
        +-L-+   
        +-l-+   
        '-p-'   

Defaults

The default paths for all of the compiler executables are defined in the compiler configuration file.

Parameters

The following table shows the correspondence between -t parameters and the component executable names:

Parameter Description Executable name
a Assembler as
b Low-level optimizer xlCcode
c Compiler front end xlcentry
d Disassembler dis
E CreateExportList utility CreateExportList
I High-level optimizer, compile step ipa
L High-level optimizer, link step ipa
l Linker ld
p Preprocessor n/a

Usage

This option is intended to be used together with the -Bprefix option. If -B is specified without the prefix, the default prefix is /lib/o. If -B is not specified at all, the prefix of the standard program names is /lib/n.

Note: If you use the p suboption, it can cause the source code to be preprocessed separately before compilation, which can change the way a program is compiled.

Predefined macros

None.

Examples

To compile myprogram.c so that the name /u/newones/compilers/ is prefixed to the compiler and assembler program names, enter:
xlc myprogram.c -B/u/newones/compilers/ -tca

Related information