EasyManua.ls Logo

Commodore PC 20 - Page 335

Commodore PC 20
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...
Ignoring Default Libraries
Syntax:
Inodefaultlibrarysearch
The
Inodefaultlibrarysearch
option directs
the
linker
to
ignore
any library names
it
may find in an object file. A high-Ievel-
language compiler may add a library name
to
an object file
to
ensure
that a default set
of
libraries is linked
with
the
program.
Using this option overrides these default libraries and lets you
explicitly name the libraries you want by including
them
on
the
link
command line.
Minimum abbreviation:
Inod
Example:
The following example links
the
object files, startup.obi and
file.obi, with routines from
the
libraries,
em,
slibfP,
and
slibc.
Any
default libraries that may have been named in startup.
obi
or
file.
obi
are ignored:
link
startup+file/nod",em+slibfp+slibc
Setting the Stack Size
Syntax:
Istack:size
The
Istack option sets
the
program stack
to
the
number
of
bytes
given
by
size. The linker usually calculates a program's stack size
automatically, basing it
on
the
size
of
any stack segments given in
the
object files. H you
do
use
the
Istack
option,
the
linker uses
the
value you type in place
of
any value
it
may have calculated.
The size can
be
any positive integer in
the
range from 1
to
65535.
This value can
be
a decimal, octal,
or
hexadecimal number. Octal
numbers must begin
with
a zero, and hexadecimal numbers must
begin with a leading zero followed by a lowercase x. For example,
OxlB.
By
using
the
exemod
utility, you can also change
the
stack size
after linking.
Minimum abbreviation:
1st
Unk: A Unker
1971
The /nodefault-
librarysearch option
The /stack option

Table of Contents

Related product manuals