FLOSS on NonStop User Manual
A FLOSS Commands and APIs
Table 3 lists the various commands, and helper utilities that constitute the FLOSS package.
Table 3 FLOSS Commands and Description
DescriptionCommand/Helper Utility
as utility is a wrapper around the cc script. Most of the open source
packages check the presence of this utility, which is provided by the c89
for NonStop system. This wrapper is required for the package build to
go through seamlessly.
as
c++ is a wrapper that calls cc with the -Wcplusplus flag. This is
required for building open source packages as a separate utility.
c++
cc is a wrapper script around c89. This script provides these features:
• —pth links against gnu pthreads, —pthread links against POSIX
pthreads, and –spt links against OSS pthreads.
• Maps –lcurses to –lncurses, a NonStop specific workaround. Maps
–O to –Woptomize.
• Defines the following C language constants:
◦ —DSOCKLEN_T
◦ —D_XOPEN_SOURCE_EXTENDED=1
• Sets the following c89 options:
◦ —Wallow_cplusplus_comments
◦ —Wextensions
◦ —Wnowarn
◦ —Woptimize=1
◦ —WIEEE_float
◦ —I/usr/local/include
◦ —L/usr/local/lib
◦ —lfloss
◦ —lutil
• Sets the following eld options:
◦ —Weld=—allow_duplicate_procs
◦ —Weld=—unres_symbols error
cc
cpp is the preprocessor front-end of c89. Invokes cc with the following
options:
• –Wkr
• –E
cpp
A linker wrapper around cc script. It provides the utility for linking, which
is done by c89 on NonStop systems.
Id
Wrapper script around NonStop system nm, which runs the NonStop
system version of nm and formats output according to GNU nm.
nm
Converts archives to random libraries. This script is required for many
open source packages. Invokes ar with -ts specified and standard output
directed to /dev/null.
ranlib
Provides a wrapper around NonStop system strip. This script ignores the
failure of NonStop system strip.
strip
12 FLOSS Commands and APIs










