Rational Developer for System z
PL/I for Windows, Version 8.0, Programming Guide

Using response files

Instead of specifying linker input on the command line, you can put options and filename parameters in a response file. You can combine the response file with options and parameters on the command line.

When you invoke the linker, use the following syntax:

  ilink @responsefile

The value for responsefile is the name of the response file. The @ symbol indicates that the file is a response file. If the file is not in the working directory, specify the path for the file as well as the file name.

You can begin using a response file at any point on the linker command line. Although multiple response files can be specified on the command line, they cannot be nested.

Options can appear anywhere in the response file. If an option is not valid, the linker generates an error message and stops linking.

Specify the contents of the response file just as you would on the command line. Because the default syntax identifies input by file extension rather than by position on the command line, it does not matter how many lines there are, or whether there are blank lines in the file.

Example

The response file named FUN.LNK contains the following:

/DEBUG /MAP
fun.obj text.obj table.obj care.obj
/exec
/map:funlist
graf.lib

When you enter ilink @fun.lnk, the linker does the following:


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)