Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Warplink version 2.6 - <b>using multiple response files</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Using Multiple Response Files
----------------------------------------------------------------------------------------

 You cannot nest one response file inside another.  However, you can use
 multiple response files by listing them, one after another, on the command
 line.  As long as one response file does not interrupt WarpLink processing
 you can list as many response files as will fit on the command line.  You 
 can intersperse commands with response files as desired.

 WarpLink processing will be interrupted if the response file contains a
 semi-colon (;) termination character, improper use of a comma to separate
 file names, or improper use of a plus sign (+) to continue a line.  

 For example, assume you use three Clarion response files: CLARESP1.LNK,
 CLARESP2.LNK, CLARESP3.LNK.  CLARESP1.LNK contains the following:

 /CLA /OP:M CLARION + CLARION0 +

 CLARESP2.LNK contains the following:

 MYOBJ1 + (MYOBJ2 + MYOBJ3 + MYOBJ4) CNOVLMGR,MYPROG,, +

 CLARESP3.LNK contains the following:

 CLARION1 + CLARION2

 You could link the sample program MYPROG.EXE by using the following command:

 WARPLINK @CLARESP1.LNK @CLARESP2.LNK @CLARESP3.LNK

 The command sets the /cla and /op:m options and uses the three response
 files containing the Clarion object modules CLARION.OBJ and CLARION0.OBJ;
 the nonoverlaid program module MYOBJ1.OBJ; the overlaid program modules
 MYOBJ2.OBJ, MYOBJ3.OBJ and MYOBJ4.OBJ; and the libraries CLARION1.LIB
 and CLARION2.LIB.

 You could achieve the same results as the previous example by changing
 CLARESP2.LNK to the following:

 MYOBJ1 + (MYOBJ2 + MYOBJ3 +MYOBJ4) + CNOVLMGR +

 and entering the following at the DOS command line:

 WARPLINK @CLARESP1.LNK @CLARESP2.LNK,MYPROG,, @CLARESP3.LNK

 The Interactive WarpLink utility allows merging of multiple response files
 to create one larger file that contains all of the object modules, 
 libraries, and options of each individual response file.  

 Refer to Chapter 10, Interactive WarpLink, for more information.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson