Using a Response File to Specify Link Files
You can create a program by listing, in a response file,
the
names
of
all the files
to
be
processed, and by giving
the
name
of
the
response file
on
the
link
command line. The simplest way
to
use
a response file is with a command line
of
the following form:
link
@filename
You
can
also specify a response file at any prompt,
or
at any posi-
tion in a command line. The input from the response file is
treated exactly as though you had typed it at
the
link
prompts
or
in a command line. However, any
RETURN/LINEFEED
combinations in
the
file are treated
the
same as
if
you had pressed
the
RETURN
key
in response
to
a prompt,
or
typed a comma in a command line.
When you specify a response file, remember that
the
filename
must
be
the
name
of
the
response file, and that you must
precede
it by an "at" sign
(@).
If
the
file is in another directory
or
on
another disk drive, you must provide a pathname.
You can name the response file anything you like.
The
file
content
has
the
following general form:
objectjiles
[executable file)
[mapfile)
[ libraryfiles )
You can omit any elements that have already
been
provided at
prompts
or
with a partial command line.
You must place each group
of
filenames
on
a separate line.
If
you
have
more
names than
can
fit
on
one
line, you can simply con-
tinue
the
names on
the
next
line by typing a plus sign ( + ) as
the
last character in the
current
line and pressing
the
RETURN
key. If
you
do
not
supply a filename for a group, you must leave an
empty
line. You can give options
on
any line.
You can place a semicolon
(;)
on
any line in
the
response file.
When
link
encounters
the
semicolon, it automatically supplies
default filenames for all files you have
not
yet named
in
the
response file. The remainder
of
the
response file is ignored.
When you create a program
with
a response file,
the
linker
displays each response from your response file
on
the
screen in
the
form
of
prompts. If
the
response file does
not
contain names
for required files,
link
prompts you for
the
missing names and
waits for you
to
enter responses.
Unk: A Unker
1871
The format of a
response file