EasyManua.ls Logo

Commodore PC - Page 267

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...
Unk:
A
Linker
195
Note
If
you
do
not
specify a
map
file
in
a
link
command,
you
can
use
the
/map
option
to
force
the
linker
to
create
one.
Link
^-v
gives
the
forced
map
file
the
same
filename
as
the
first
object
file
specified
in
the
command.
It
also
adds
the
default
extension
.map.
r^)
Example:
The
following
command
creates
a
map
of
all
public
symbols
in
the
file
fileobj:
link
file,,/map;
r*\
Copying
Line
Numbers
to
the
Map
File
Syntax:
(***)
/linenumbers
The
/linenumbers
The
/linenumbers
option
directs
the
linker
to
copy
the
starting
option
address
of
each
program
source
line
to
a
map
file.
The
starting
f**)
address
is
actually
the
address
of
the
first
instruction
that
corresponds
to
the
source
line.
You
can
use
the
mapsym
pro
gram
to
copy
line-number
data
to
a
symbol
file,
which
can
then
s~\
by
used
by»symdeb.
The
linker
copies
the
line-number
data
only
if
you
give
a
map-file
name
in
the
link
command
line,
and
only
if
the
given
object
file
/^
has
line-number
information.
Line
numbering
is
available
in
some
high-level-language
compilers,
including
Microsoft
Fortran
and
Pascal,
versions
30
and
later,
and
Microsoft
C,
versions
2.0
and
n
later-
masm
does
not
copy
line-number
information
to
the
object
file.
If
an
object
file
has
no
line-number
information,
the
linker
ignores
^-v
the
/linenumbers
option.
Minimum
abbreviation:
/li
'
Note
If
you
do
not
specify
a
map
file
in
a
link
command,
you
can
still
use
the
/linenumbers
option
to
force
the
linker
to
create
one.
Just
place the
option
at
or
before
the
list
File
prompt.
{***)
Link
gives
trie
forced
map
file
the
same
filename
as
the
first
object
file
that
you
specified
in
the
command,
and
gives
it
the
default
extension
.map.
n

Related product manuals