Index
A
- abort function, 176
- acomp (C compiler), 2
- alignment of structures, 158
- ANSI C, xxi
- ANSI C vs. K&R C, xxi, 5, 23, 179
- arithmetic conversions, 58, 62
- _asm keyword, 58
- asm keyword, 58
- assembler, 2
- #assert, 7, 66
- Auto-Read, 44
B
- behavior, implementation-defined, 151 to 178
- binding
- static vs. dynamic, 7
- bit-fields, 130, 158
- bits, in execution character set, 153
- bitwise
- operations on signed integers, 155
- buffering, 169
C
- c89, xxiv
- calloc function, 176
- case statements, 159
- cb, xxiv
- cc
- shared error message database catfiles, 55
- cc compiler options, 5 to 54
- -#, 6
- -###, 6
- -Aname [(tokens )], 7
- -B[static|dynamic], 7
- -C, 7
- -c, 7
- -d[y|n], 8
- -dalign, 9
- -Dname [(=tokens )], 7
- -E, 9
- -erroff=t, 9
- -errtags=a, 10
- -fast, 10
- -fd, 11
- -flags, 11
- -fnonstd, 11
- -fns, 12
- -fprecision=r, 12
- -fround=r, 12
- -fsimple[=n], 12
- -fsingle, 13
- -fstore, 14
- -ftrap=t, 14
- -G, 14
- -g, 15
- -H, 15
- -h, 15
- -Idir, 16
- -J, 16
- -keeptmp, 16
- -KPIC, 16
- -Kpic, 16
- -Ldir, 17
- -Lname, 18
- -mc, 18
- -misalign, 18
- -misalign2, 18
- -mr, 19
- -mr,string, 19
- -mt, 19
- -native, 19
- -nofstore, 19
- -noqueue, 20
- -O, 20
- -o filename, 20
- -P, 20
- -p, 20
- -Q[y|n], 20
- -qp, 21
- -Rdir[:dir], 21
- -S, 21
- -s, 21
- -Uname, 21
- -V, 21
- -v, xxvii, 22
- -w, 23
- -Wc, arg, 22
- -X[a|c|s|t], 23
- -x386, 23
- -x486, 24
- -xa, 24
- -xarch=a, 24
- -xautopar, 27
- -xcache=c, 28
- -xCC, 29
- -xcg[89|92], 29
- -xchip=c, 29
- -xcrossfile, 30
- -xdepend, 31
- -xe, 31
- -xexplicitpar, 31
- -xF, 32
- -xhelp=f, 32
- -xildoff, 33
- -xildon, 33
- -xinline=[f1,...,fn], 33
- -xlibmieee, 34
- -xlibmil, 34
- -xlic_lib, 34
- -xlic_lib=sunperf, 34
- -xlicinfo, 34
- -xloopinfo, 34
- -xM, 35
- -xM1, 36
- -xMerge, 36
- -xnolib, 36
- -xnolibmil, 37
- -xO[1|2|3|4|5], 37
- -xP, 39
- -xparallel, 39
- -xpentium, 40
- -xpg, 40
- -xprofile=p, 40
- -xreduction, 42
- -xregs=r, 42
- -xrestrict=f, 43
- -Xs, 179
- -xs, 44
- -xsafe=mem, 44
- -xsb, 44
- -xsbfast, 44
- -xsfpconst, 45
- -xspace, 45
- -xstrconst, 45
- -xtarget=t, 45
- -xtemp=dir, 51
- -xtime, 51
- -xtransition, 51, 58
- -xunroll=n, 52
- -xvpara, 52
- -YA, dir, 53
- -Yc, dir, 52
- -YI, dir, 53
- -YP, dir, 53
- -YS, dir, 53
- -Zll, 53
- -Zlp, 53
- -Ztha, 54
- cflow, xxiv
- cg (code generator), 3
- cg386 (intermediate language translator), 2
- cgppc (intermediate language translator), 2
- character
- bits in set, 153
- decimal point, 177
- mapping set, 153
- multibyte, shift status, 153
- set, collation sequence, 178
- single-character characater constant, 159
- source and execution of set, 153
- space, 169
- testing of sets, 165
- clock function, 177
- code generator, 3
- code optimization, 11, 37
- code optimizer, 2
- codegen (code generator), 3
- compatibility options, 5, 23
- compilation modes and dependencies, 71
- compiler, 54
- compiler flags, See cc compiler options
- compiling a program, 5 to 6
- constants, 63 to 64
- conversion
- integers, 155
- conversions, 58, 62
- cpp (C preprocessor), 2
- cscope, xxiv, 83 to 102
- command-line use, 85, 93 to 95
- editing source files, 84, 92, 101
- environment setup, 84 to 85, 102
- environment variables, 95 to 96
- searching source files, 83 to 84, 85, 86 to 92
- See also SourceBrowser
- usage examples, 84 to 93, 97 to 101
- ctrace, xxiv
- cxref, xxiv
D
- data representation, 137 to ??
- data types, 61
- __DATE__, 164
- date and time formats, 178
- dbx tool
- disable Auto-Read for, 44
- initializes faster, 44
- symbol table information for, 15
- debugging information, removing, 21
- decimal-point character, 177
- declarators, 159
- default
- compiler behavior, 23
- handling and SIGILL, 168
- installation path name, xxx
- locale, 153
- #define, 7
- diagnostics, format, 151
- directives, 66
- documentation for C compiler, xxii to xxviii
- domain errors, math functions, 166
- double load/store instructions, 9
E
- edit, source files, See cscope
- environment variables, xxiii, 27, 57, 73, 84, 85, 101, 153, 177
- ERANGE, 166
- errno, 166, 171
- Error message
- source file names, 54
- Error message catalogs, 54
- Error message database
- shared between cc and lint commands, 55
- Error messages
- localization, 54
- error messages, xxv, 119, 151
- See also message ID (tag)
- exit function, 176
F
- faster linking and initializing, 44
- fbe (assembler), 2
- features, new in this release, See README file
- fgetpos function, 171
- files
- implementation-defined behavior, 169 to 170
- See also #include files; source files
- temporary, 57
- flags, compiler, See options, compiler
- float expressions as single precision, 13
- floating point, 156
- gradual underflows, 65
- nonstandard, 11
- nonstop, 65
- representations, 156
- truncation, 156, 157
- values, 156
- fprintf function, 170
- fscanf function, 170
- ftell function, 171
- function
- abort, 176
- calloc, 176
- clock, 177
- exit, 176
- fgetpos, 171
- fmod, 167
- fprintf, 170
- fscanf, 170
- ftell, 171
- getenv, 176
- malloc, 176
- perror, 171
- prototypes, 128
- prototypes, lint checks for, 133
- realloc, 176
- remove, 170
- rename, 170
- strerror, 177
- system, 177
G
- gencat utility
- creating formatted message database catfiles, 54
- getenv function, 176
- gprof, xxv
- gradual underflows, 65
H
- header files
- format, 64
- how to include, 64 to 65
- standard place, 64 to 65
- with lint, 107 to 108
- help, See documentation for C compiler
I
- identifiers, 152
- ild, xxv, xxviii, 3, 33
- iMPact, 72
- implementation-defined behavior, 151 to 178
- #include files, 64 to 65, ?? to 94
- incremental linker, xxv, xxviii, 3, 33
- indent, xxiv
- inline, xxv
- inline expansion templates, 34, 37
- inlining, xxv, 34
- installation path name, xxx
- integers, 154 to 155
- interactive device, 152
- iropt (code optimizer), 2
- isalnum, 165
- isalpha, 165
- iscntrl, 165
- islower, 165
- isprint, 165
- isupper, 165
K
- K&R C vs. ANSI C, xxi, 5, 23, 179
- keywords, 58 to 61
L
- ld, xxv, xxviii, 3, 54
- lex, xxv
- libfast.a, 182
- libraries
- intrinsic name, 15
- libfast.a, 182
- lint, 133 to 134
- renaming shared, 15
- library bindings, 7
- license, xxvii, 72
- linker, xxv, xxviii, 3, 33, 44, 54
- linker, See also incremental linker
- linking
- static vs. dynamic, 8
- lint, xxiv, 105 to 135
- consistency checks, 128 to 129
- filters, 134 to 135
- libraries, 133 to 134
- messages, 119
- options, 108 to 118
- portability checks, 129 to 131
- predefinitions, 67
- questionable constructs, 131 to 132
- shared error message database catfiles, 55
- local time zone, 177
-
- locale
- behavior, 177
- default, 153
- Localization
- Using gencat and catges, 54
- Localization error messages
- lint, 54
- Localization of error messages, 54
- long double, 147
- long int, 62
- long long, 61 to 62
- arithmetic promotions, 62
- passing, 147
- representation of, 139
- returning, 147
- storage allocation, 137
- suffix, 63
- value preserving, 63
- long long, 9
- loops, 31
M
- m4, xxv
- macros
- __DATE__, 164
- __RESTRICT, 60, 72
- __TIME__, 164
- main
- semantics of args, 152
- make, xxv
- malloc function, 176
- man pages, xxiii to xxv
- math functions,domain errors, 166
- memory, 176
- message ID (tag), xxvi, 9, 10, 112, 113, 119
- messages, error, xxv, 119, 151
- See also message ID (tag)
- messages, lint, 119
- mode, compiler, 23
- MP C, xxii, 72 to 82
- multiprocessing, 72 to 82
- mwinline, 2
N
- new features in this release, See README file
- newline, terminating, 169
- NLSPATH
- setting the access path, 55
- nonstop
- floating-point arithmetic, 11, 65
- null characters not appended to data, 169
- NULL, value of, 164
O
- on-line documentation, xxiii
- operating environment, xxx, 1
- optimization, 11, 37, 181
- optimizer, 2
- optimizing performance, 11, 37, 181
- options
- -xtarget=t, ?? to 51
- options, compiler, 5 to 54
- options, lint, 108 to 118
P
- padding of structures, 158
- PARALLEL environment variable, 27, 73
- parallelization, 27, 31, 34, 39, 42, 52, 72 to 82
- pass, name and version of each, 21
- path name, xxx
- Pentium, 51
- performance,optimizing, 11, 37, 181
- perror function, 171
- platform, xxx
- pointers, restricted, 59 to 61
- portability, of code, 106, 129 to 131
- #pragma _int_to_unsigned, 69, 162
- #pragma _unknown_control_flow, 70, 163
- #pragma align, 68, 160
- #pragma fini, 68, 161
- #pragma ident, 69, 162
- #pragma init, 68, 161
- #pragma MP serial_loop, 69, 74, 162
- #pragma MP serial_loop-nested, 69, 74, 162
- #pragma MP taskloop, 69, 74, 162
- #pragma no_side_effect, 69, 162
- #pragma nomemorydepend, 69, 162
- #pragma pack, 70, 163
- #pragma pipeloop, 70, 163
- #pragma redefine_extname, 70, 163
- #pragma unroll, 70, 163
- #pragma weak, 71, 164
- pragmas, 68 to 71, 160 to 164
- predefinitions, 8, 72
- preprocessing
- directives, 7, 64 to 65, 71, 159
- predefined names, 71
- preprocessor, 35
- preserving
- unsigned, 58
- value, 58
- printing, 62, 177
- prof, xxv
- profiling
- with tcov, 24
- promotions, 58
Q
- qualifiers, 159
R
- README file, xxvii
- realloc function, 176
- remove function, 170
- rename function, 170
- renaming shared libraries, 15
- representation
- floating point, 156
- integers, 154
- __RESTRICT macro, 60, 72
- _Restrict keyword, 60
- restricted pointers, 59 to 61
- right shift, 155
- rounding behavior, 65
S
- sccs, xxv
- search, source files, See cscope
- shared libraries, naming, 15
- shared object, 14
- signal, 167 to 168
- signed, 58, 154
- Source Code Control System, See sccs
- source files
- checking with lint, 105 to 135
- editing, See cscope
- indenting, xxiv
- locating, 160
- searching, See cscope
- SourceBrowser, 102
- space characters, 169
- standards conformance, xxiv, 1, 57
- streams, 169
- strerror function, 177
- string literals in text segment, 45
- structure
- alignment, 158
- padding, 158
- SUNPRO_SB_INIT_FILE_NAME environment variable, 57
- symbol table for dbx, 44
- symbolic debugging information, removing, 21
- system function, 177
T
- tcov, xxv
- new style with -xprofile, 41
- tcov tool, 24
-
- text
- segment and string literals, 45
- stream, 169
- __TIME__, 164
- time and date formats, 178
- /tmp, 57
- TMPDIR environment variable, 57
- translation behavior, 151
- type conversions, 58
- typographic conventions, xxix
U
- underflow, gradual, 11
- unsigned, 58, 154
V
- value
- floating point, 156
- integers, 154
- preserving, 58
- volatile, 159
W
- warning messages, xxv, 119, 151
- See also message ID (tag)
- write on text stream, 169
Y
- yacc, xxv
Z
- zero-length file, 170
- zero-size memory allocation, 176