-t

Pragma equivalent

None.

Purpose

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

Syntax

Read syntax diagramSkip visual syntax diagram
        .-------.   
        V       |   
>>- -t----+-a-+-+----------------------------------------------><
          +-b-+     
          +-c-+     
          +-C-+     
          +-d-+     
          +-I-+     
          +-L-+     
          +-l-+     
          '-p-'     

Defaults

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

Parameters

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

Parameter Description Component name
a The assembler as
b The low-level optimizer xlCcode
c, C The C and C++ compiler front end xlCentry
d The disassembler dis
I (uppercase i) The high-level optimizer, compile step ipa
L The high-level optimizer, link step ipa
l (lowercase L) The linker ld
p The preprocessor xlCentry

Usage

Use this option 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



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us