EasyManua.ls Logo

Commodore PC 10 - Page 333

Commodore PC 10
494 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...
Note
If
you
do
not
specify a map file in a
link
command,
you
can
use
the
Imap
option
to
force
the
linker
to
create
one.
Link
gives
the
forced map file
the
same filename as
the
first
object
file
specified in
the
command. It also adds
the
default
extension.
map.
Example:
The
following
command
creates a map
of
all public symbols in
the
file
file.obj:
link
file,,/map;
Copying Line Numbers
to
the
Map
File
Syntax:
Ilinenumbers
The
Ilinenumbers
option
directs
the
linker
to
copy
the
starting
address
of
each program
source
line
to
a map file.
The
starting
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
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 3.0 and later,
and
Microsoft
C,
versions 2.0
and
later.
MASM
does
not
copy line-number information
to
the
object
file.
If
an
object
file has
no
line-number information,
the
linker ignores
the
Ilinenumbers
option.
Minimum abbreviation:
!Ii
Note
If
you
do
not specify a map file in a
link
command, you
can
still use
the
llinenumbers
option
to
force
the
linker
to
create
one.
Just
place
the
option
at
or
before
the
List File
prompt.
Link
gives
the
forced map file
the
same filename as
the
first
object
file that
you
specified in
the
command, and gives
it
the
default
extension
.map.
Unk: A Unker
1951
The llinenumbers
option

Table of Contents

Related product manuals