EasyManua.ls Logo

Commodore PC - Page 260

Commodore PC
414 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
188
MS-DOS
User's
Reference
Note
A
response
file
should
end
with
either
a
semicolon
(;)
\~s
or
a
return/linefeed
combination.
If
you
fail
to
provide
a
final
return/linefeed
in
the
file,
the
linker
will
display
the
last
line
of
the
response
file
and
wait
for
you
to
press
the
return
key.
Example:
,
,
Using
Link
with
a
The
following
response
file
tells
the
linker
to
link
the
four
object
response
file
modules,
moda,
modb,
mode,
and
startup.
Then,
before
produc
ing
the
executable
file
moda.exe,
it
tells
link
to
pause
to
let
you
swap
disks.
Finally,
the
linker
creates
a
map
file
abemap
and
searches
the
math.lib
library
in
the
\lib
directory
of
drive
B:
moda
modb
mode
startup
/PAUSE
abc
b:\lib\math
The
following
procedure
combines
all
three
methods
of
supplying
filenames.
Assume
you
have
a
response
file
called
library
that
con
tains
one
line:
/
\
Iib1+lib2+lib3+lib4
Now
start
link
with
a
partial
command
line:
U
link
objecti
object2
U
Link
takes
objecti.obj
and
object2.obj
as
its
object
files,
and
prompts
for
the
next
file:
Run
File
[object1.EXE]:
exec
List
File
[NUL.MAP3:
Libraries
[.LIB]:
©library
You
include
the
name
exec
so
that
the
linker
will
name
the
exe
cutable
file
execexe.
You
then
press
the
return
key
to
indicate
that
no
map
file
is
desired,
and
you
enter
©library
so
that
the
linker
will
read
in
the
response
file
containing
the four
library
filenames.

Related product manuals