For example, the following response file:
MYFILE1+
MYFILE2
MYFILE3
causes WL32 to link MYFILE1.OBJ and MYFILE2.OBJ into MYFILE3.EXE because the MYFILE2 line does not end of with the plus sign. The same effect can be achieved by this response file:
MYFILE1+
MYFILE2,MYFILE3
In contrast, the following response file:
MYFILE1+
MYFILE2+
MYFILE3
links together MYFILE1.OBJ, MYFILE2.OBJ, and MYFILE3.OBJ to create MYFILE1.EXE because of a trailing plus sign after MYFILE2.
When linking with response files, you must specify the file extension if one is required. WL32 does not assume a .LNK or .RSP file extension. However, by using a configuration definitions file command you may specify a default response file extension. Refer to the Configuration Files chapter for more information.
If a response file is not found in the current directory, WL32 will search the LIB environment variable directories for the response file.
COMMENTS IN A RESPONSE FILE
You can add comments to WL32's response files for documentation purposes. Use the pound sign (#) to insert comments into a response file. Two slash (//) characters also may be used to indicate a comment. All characters on a line after the pound sign or slashes are ignored by WL32. The comment indicator can be modified from a pound sign to a different character using a configuration definitions file command. Read the Configuration Files chapter for more information.