Commodore PC Ms-Dos 3.2 User's Manual page 254

Table of Contents

Advertisement

182 MS-DOS User's Reference
u
how to start Link
Starting and Using Link
This section explains three methods for starting and using the
ij
linker to create executable programs. These methods let you use
link by answering a series of prompts, by typing an msdos com
mand line, or by using a response file. The three methods can also
»
\
be mixed.
^-^
Once you start link, it will either process the files you supply or
prompt you for additional files. Also, note that you can stop the
i
j
linker at any time by pressing control-C.
Using Prompts to Specify Link Files
.
\
When you type the command, link, at the msdos prompt, the
linker prompts you for the information it needs. Follow these
steps:
K^J
D] First, type the following command and press the return key.
link
K*J
Link prompts you for the object files you wish to link by
displaying the following message:
X^J
Object
Modules
[.OBJ]:
[H Type the name or names of the object files you wish to link. If
you do not supply extensions for these files, link supplies .obj
by default. If you have more than one name, make sure you
i
j
separate each with spaces or plus signs ( + ). If you have more
^^^
names than can fit on one line, type a plus sign ( + ) as the last
character on the line and press the return key. Link then
,
\
prompts you for additional object files.
Vv^w/
Once you have given all your object filenames, press the
return key. The linker displays the following prompt:
Run
File
lfilename.EXE ]:
[H Note that in step 2, filename is the same as the first filename
{^J
you typed at the Object Modules prompt. Type the name of
the executable file you wish to create, and press the return
key. If you do not give an extension, link supplies .exe by
i
j
default. If you want link to supply a default executable
^^
filename, just press the return key. The filename will then be
the same as the first object file, but with the extension .exe.
,
>

Advertisement

Table of Contents
loading

Table of Contents