![HP nld Скачать руководство пользователя страница 50](http://html.mh-extra.com/html/hp/nld/nld_manual_165146050.webp)
nld Utility
nld and noft Manual — 520384-003
2- 22
Linking Floating-Point Programs
Unlike libraries, which must be specified only once in a linking operation, you might
need to specify archives more than once in the same linking operation. For example, if
the object program
obj
calls functions
fun1
and
fun3
, and if archive
ar1
contains
functions
fun1
and
fun2
in separate archives or object files, and archive
ar2
contains
function
fun3
, which calls
fun2
, then the command:
nld obj.o -l ar1.a -l ar2.a
links
obj
,
ar1
and
ar2
.
nld
resolves references to
fun1
and
fun3
, but
fun2
is
unresolved.
The following command:
nld obj.o -l ar1.a -l ar2.a -l ar1.a
links
obj
,
ar1
and
ar2
completely and
nld
resolves all references.
Linking Floating-Point Programs
When linking object files using the
nld
utility, you can specify the floating-point type of
the output object file using the option
-set
on page 3-13 with the
attribute-name
FLOATTYPE
. The floating-point type can be any of the following:
•
TANDEM_FLOAT
•
IEEE_FLOAT
•
NEUTRAL_FLOAT
If you do not specify the floating-point type of the output object file,
nld
derives it from
the types of the input files (see
Link-Time Consistency Checking
on page 2-23).
When modifying an existing object file,
nld
sets the type as specified by the option
-change
on page 3-4.
Subsections:
•
Link-Time Consistency Checking
on page 2-23
•
Run-Time Consistency Checking
on page 2-25
•
Linking Mixed-Language Programs
on page 2-26
For more information about using IEEE floating-point format:
Topic
Document
Building programs using IEEE floating-point
format
Guardian Programmer’s Guide
Operating mode routines
Routines for converting between Tandem
and IEEE floating-point formats
Guardian Procedure Calls Reference Manual
Descriptions of the
IEEE_FLOAT
and
TANDEM_FLOAT
pragmas
C/C++ Programmer’s Guide
Содержание nld
Страница 12: ...Contents nld and noft Manual 520384 003 x ...
Страница 16: ...What s New in This Manual nld and noft Manual 520384 003 xiv Miscellaneous ...
Страница 22: ...About This Manual nld and noft Manual 520384 003 xx Change Bar Notation ...
Страница 28: ...Introduction to the Utilities nld and noft Manual 520384 003 1 6 strip ...
Страница 60: ...nld Utility nld and noft Manual 520384 003 2 32 Declaration and Definition ...
Страница 78: ...nld Options nld and noft Manual 520384 003 3 18 y ...
Страница 90: ...noft Utility nld and noft Manual 520384 003 4 12 Debugging With noft ...
Страница 150: ...strip Utility nld and noft Manual 520384 003 7 2 ...
Страница 160: ...Converting From Binder to nld and noft nld and noft Manual 520384 003 9 8 Comparing Binder Commands to noft Options ...
Страница 242: ...nld Diagnostic Messages nld and noft Manual 520384 003 10 82 Informational Messages ...
Страница 278: ...noft Diagnostic Messages nld and noft Manual 520384 003 11 36 Syntax Errors ...
Страница 286: ...ar Diagnostic Messages nld and noft Manual 520384 003 12 8 ...
Страница 314: ...Sample nld and noft Session nld and noft Manual 520384 003 A 28 LISTSRLFIXUPS ...
Страница 330: ...Index nld and noft Manual 520384 003 Index 10 Special Characters ...