
30 Pascal 4.0 User’s Guide
3
The default is -fround=nearest.
The meanings are the same as those for the ieee_flags subroutine.
If you compile one routine with -fround=r, compile all routines of the
program with the same –fround=r option; otherwise, unexpected results may
occur.
–ftrap=t
(Solaris 2.x only) The -ftrap=t option sets the IEEE 754 trapping mode in
effect at startup.
t is a comma-separated list of one or more of the following: %all, %none,
common, [no%]invalid, [no%]overflow, [no%]underflow, [no%]division,
[no%]inexact. The default is -ftrap=%none.
This option sets the IEEE 754 trapping modes that are established at program
initialization. Processing is left-to-right. The common exceptions, by definition,
are invalid, division by zero, and overflow.
Example: -ftrap=%all,no%inexact means set all traps, except inexact.
The meanings are the same as for the ieee_flags function, except that:
• %all turns on all the trapping modes.
• %none, the default, turns off all trapping modes.
• A no% prefix turns off that specific trapping mode.
If you compile one routine with -ftrap=t, compile all routines of the program
with the same -ftrap=t option; otherwise, unexpected results may occur.
-G
(Solaris 2.x only) The -G option builds a shared library. All object files specified
with this command option should have been compiled with either the -pic or
the -PIC option.
Kommentare zu diesen Handbüchern