-f

Category

Linking

Pragma equivalent

None.

Purpose

Names a file that stores a list of object files for the compiler to pass to the linker.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- -f--filelistname-------------------------------------------><

Usage

The filelistname file should contain only the names of object files. There should be one object file per line.

This option is the same as the -f option for the ld command.

Predefined macros

None.

Examples

To pass the list of files contained in myobjlistfile to the linker, enter:

xlc -f/usr/tmp/myobjlistfile