-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-+   
        +-C-+   
        +-d-+   
        +-E-+   
        +-f-+   
        +-I-+   
        +-L-+   
        +-l-+   
        +-m-+   
        '-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, xlCentry
C++ only C C++ compiler front end xlCentry
d Disassembler dis
E CreateExportList utility CreateExportList
C++ only f c++filt utility c++filt
I High-level optimizer, compile step ipa
L High-level optimizer, link step ipa
l Linker ld
C++ only m Linkage helper munch
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