Error compiling 1.6.4rc2 on AIX 4.3.3
Dana Kaempen
decay at flash.net
Tue Jan 8 15:39:07 EST 2002
All -
I thought I'd try compiling the beta of sudo 1.6.4, rc2, on some of the systems I use. Solaris 8 and DYNIX 4.4.7 compiled fine, but AIX errored out during the make. I've include the config.log and I captured the output from the make. If this is not sufficient info for someone to figure out what needs to change, please let me know what other info you'd like. I'll be happy to work with you on debugging this.
Thanks.
Dana
--
..d..ecay
mailto:decay at flash.net
------------------------
"Keep the wheels rolling." - Anonymous traffic prophet
-------------- next part --------------
cc -c -I. -I. -D_XOPEN_EXTENDED_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440 check.c
cc -c -I. -I. -D_XOPEN_EXTENDED_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440 env.c
cc -c -I. -I. -D_XOPEN_EXTENDED_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440 getspwuid.c
cc -c -I. -I. -D_XOPEN_EXTENDED_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440 goodpath.c
cc -c -I. -I. -D_XOPEN_EXTENDED_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440 fileops.c
cc -c -I. -I. -D_XOPEN_EXTENDED_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440 find_path.c
cc -c -I. -I. -D_XOPEN_EXTENDED_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440 interfaces.c
cc -c -I. -I. -D_XOPEN_EXTENDED_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440 logging.c
cc -c -I. -I. -D_XOPEN_EXTENDED_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440 parse.c
cc -c -I. -I. -D_XOPEN_EXTENDED_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440 set_perms.c
cc -c -I. -I. -D_XOPEN_EXTENDED_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440 sudo.c
cc -c -I. -I. -D_XOPEN_EXTENDED_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440 tgetpass.c
"tgetpass.c", line 128.17: 1506-112 (W) Duplicate type qualifier "volatile" ignored.
cc -c -I. -I. -D_XOPEN_EXTENDED_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440 ./auth/sudo_auth.c
cc -c -I. -I. -D_XOPEN_EXTENDED_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440 ./auth/passwd.c
cc -c -I. -I. -D_XOPEN_EXTENDED_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440 sudo.tab.c
cc -c -I. -I. -D_XOPEN_EXTENDED_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440 lex.yy.c
cc -c -I. -I. -D_XOPEN_EXTENDED_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440 alloc.c
"alloc.c", line 84.14: 1506-068 (W) Operation between types "void*" and "int" is not allowed.
"alloc.c", line 102.20: 1506-226 (S) The ":" operator is not allowed between "void*" and "int".
make: 1254-004 The error code from the last command is 1.
Stop.
-------------- next part --------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by sudo configure 1.6.4, which was
generated by GNU Autoconf 2.52. Invocation command line was
$ ./configure
## ---------- ##
## Platform. ##
## ---------- ##
hostname = dpbmdb1
uname -m = 000104784C00
uname -r = 3
uname -s = AIX
uname -v = 4
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = 4.3.3.0
/bin/universe = unknown
PATH = /home/sysadmin/dck/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/local/sbin:/usr/local/bin::/usr/local/reel/bin:/usr/local/reel/utils:/usr/local/reel/utils/DBscripts:/usr/local/reel/utils/FSscripts
## ------------ ##
## Core tests. ##
## ------------ ##
configure:1033: PATH=".;."; conftest.sh
./configure[1034]: conftest.sh: not found
configure:1036: $? = 127
configure:1527: checking whether to lecture users the first time they run sudo
configure:1545: result: yes
configure:1557: checking whether sudo should log via syslog or to a file by default
configure:1603: result: syslog
configure:1607: checking which syslog facility sudo should log with
configure:1635: result: local2
configure:1638: checking at which syslog priority to log commands
configure:1667: result: notice
configure:1670: checking at which syslog priority to log failures
configure:1699: result: badpri
configure:1717: checking how long a line in the log file should be
configure:1745: result: 80
configure:1748: checking whether sudo should ignore '.' or '' in $PATH
configure:1774: result: no
configure:1778: checking whether to send mail when a user is not in sudoers
configure:1801: result: yes
configure:1808: checking whether to send mail when user listed but not for this host
configure:1834: result: no
configure:1838: checking whether to send mail when a user tries a disallowed command
configure:1864: result: no
configure:1868: checking who should get the mail that sudo sends
configure:1892: result: root
configure:1918: checking for bad password prompt
configure:1934: result: Password:
configure:1941: checking for bad password message
configure:1963: result: Sorry, try again.
configure:1966: checking whether to expect fully qualified hosts in sudoers
configure:1992: result: no
configure:2091: checking for umask programs should be run with
configure:2121: result: 0022
configure:2125: checking for default user to run commands as
configure:2149: result: root
configure:2177: checking for editor that visudo should use
configure:2205: result: vi
configure:2209: checking whether to obey EDITOR and VISUAL environment variables
configure:2235: result: no
configure:2239: checking number of tries a user gets to enter their password
configure:2264: result: 3
configure:2267: checking time in minutes after which sudo will ask for a password again
configure:2290: result: 5
configure:2293: checking time in minutes after the password prompt will time out
configure:2316: result: 5
configure:2341: checking whether to use per-tty ticket files
configure:2367: result: no
configure:2371: checking whether to include insults
configure:2399: result: no
configure:2504: checking whether to override the user's path
configure:2531: result: no
configure:2535: checking whether to get ip addresses from the network interfaces
configure:2559: result: yes
configure:2563: checking whether to do user authentication by default
configure:2587: result: yes
configure:2591: checking whether to disable shadow password support
configure:2611: result: no
configure:2615: checking whether root should be allowed to use sudo
configure:2639: result: yes
configure:2643: checking whether to log the hostname in the log file
configure:2667: result: no
configure:2671: checking whether to invoke a shell if sudo is given no arguments
configure:2695: result: no
configure:2699: checking whether to set $HOME to target user in shell mode
configure:2723: result: no
configure:2727: checking whether to disable 'command not found' messages
configure:2751: result: no
configure:2757: checking for egrep
configure:2772: found /usr/bin/egrep
configure:2780: result: egrep
configure:2839: checking for gcc
configure:2865: result: no
configure:2913: checking for cc
configure:2928: found /usr/bin/cc
configure:2936: result: cc
configure:3090: checking for C compiler version
configure:3093: cc --version </dev/null >&5
cc: 1501-216 command option -version is not recognized - passed to ld
C for AIX Compiler
Usage:
xlc [ option | inputfile ]...
cc [ option | inputfile ]...
c89 [ option | inputfile ]...
xlc128 [ option | inputfile ]...
cc128 [ option | inputfile ]...
xlc_r [ option | inputfile ]...
cc_r [ option | inputfile ]...
xlc_r4 [ option | inputfile ]...
cc_r4 [ option | inputfile ]...
xlc_r7 [ option | inputfile ]...
cc_r7 [ option | inputfile ]...
Description:
The xlc and related commands compile C source files.
They also processes assembler source files and object files. Unless the
-c option is specified, xlc calls the linkage editor to produce a
single object file. Input files may be any of the following:
1. file name with .c suffix: C source file
2. file name with .i suffix: preprocessed C source file
3. file name with .so suffix: shared object file
4. file name with .o suffix: object file for ld command
5. file name with .s suffix: assembler source file
Options:
Options can be flag options or keyword options:
1. Flag options:
-# Display language processing commands but do
not invoke them; output goes to stdout.
-bdynamic, -bstatic
Determines which types of library files are searched by
the linkage editor.
-brtl Tells the linkage editor to accept both .so and .a
library file types.
-B<prefix>
Construct alternate compiler/assembler/linkage editor
program names. <prefix> is added to the beginning of
the standard program names.
-c Do not send object files to the linkage editor.
-C Write comments to output when doing preprocessing,
used with -E and -P.
-D<name>[=<def>]
Define <name> as in #define directive. If <def> is
not specified, 1 is assumed.
-E Preprocess but do not compile; output goes to stdout
-f<filename>
Passes to the linkage editor the filename of a file
containing a list of input files to be processed.
-F<x>[:<stanza>]
Use alternate configuration file <x> with optional
<stanza>. If <stanza> is not specified, the assumed stanza
is the name of the command used to invoke the compiler.
-g Produce information for the debugger.
-I<dir> Search in directory <dir> for include files that
do not start with an absolute path.
-l<key> Search the specified library file,
where <key> selects the file lib<key>.a.
-L<dir> Search in directory <dir> for files specified by -l<key>.
-ma Generate inline calls to the "alloca" function as if
"#pragma alloca" directives were in the source file.
-M Generate information to be included in a "make"
description file; output goes to .u file.
-o<name> Name the executable file <name> instead of a.out.
When used with the -c option and one source file,
name the object file <name> instead of filename.o.
If <name> is the name of a directory, files generated by
the compiler will be placed into that directory.
-O Optimize generated code.
-O2 Same as -O.
-O3 Perform some memory and compile time intensive
optimizations in addition to those executed with -O2.
The -O3 specific optimizations have the potential to
alter the semantics of a user's program.
The compiler guards against these optimizations at -O2
and the option -qstrict is provided at -O3 to turn off
these aggressive optimizations.
-O4 Equivalent to -O3 -qipa with automatic generation of
architecture and tuning option ideal for that platform.
-O5 Equivalent to -O3 -qipa=level=2 with automatic generation of
architecture and tuning option ideal for that platform.
-p Generate profiling support code.
-pg Generate profiling support code including BSD
profiling support.
-P Preprocess but do not compile; output goes to .i file.
-Q<x>, -qinline<x>
Inline all appropriate functions where x can be
one of the following:
! Not inline any function
=<lc> Inline if number of source statement in
function is less than the number specified
in <lc>.
-<nm> Not inline function listed by names in <nm>
+<nm> Attempt to inline function listed by names
in <nm>.
-r Permits the output file to be produced even if it
contains unresolved symbols.
-S Produce a .s file for any source file processed by the
compiler.
-t<x> Apply prefix from the -B option to the specified program <x>,
where x can be one or more of the following:
p = preprocessor
c = compiler frontend
b = compiler backend
i = compiler inliner
a = assembler
l = linkage editor.
m = 'munch' utility
I = inter procedural analysis - compile phase
L = inter procedural analysis - link phase
-U<name> Undefine name as in #undef directive.
-v Displays language processing commands as they
are invoked by xlc; output goes to stdout.
-w Suppress informational, language-level, and
warning messages.
-W<x,y> Give the options <y> to the compiler program <x>
where x can be one or more of the following:
<p,c,b,i,a,l,I,L,m>
-y<x> Specify compile-time rounding of constant floating-point
expressions, where <x> can be one of the following:
n = round to nearest
m = round toward minus infinity
p = round toward positive infinity
z = round toward zero.
2. Keyword options:
Keyword options are specified in one of the following ways:
-q<option>
-q<option>=<parameter>
-q<option>=<parameter>:<parameter>
where <option> is an option name and <parameter> is a
parameter value.
Keyword options with no parameters represent switches
that may be either on or off. The keyword by itself turns
the switch on, and the keyword preceded by the letters NO
turns the switch off. For example, -qLIST tells the
compiler to produce a listing and -qNOLIST tells the
compiler not to produce a listing. If an option that
represents a switch is set more than once, the compiler
uses the last setting.
Keyword option and parameter names may appear in either
UPPER CASE or lower case letters in the ixlc command.
Options without parameters:
32 Selects 32-bit compiler mode.
64 Selects 64-bit compiler mode.
ansialias Use type-based aliasing during optimization.
attr Produce an attribute listing containing only
referenced names; output goes to .lst file.
compact Reduce code size where possible, at the expense
of execution speed. Code size is reduced by
inhibiting optimizations that replicate or expand
code inline.
cpluscmt Permit "//" to introduce a comment that lasts
until the end of the current source line, as in C++.
dbcs String literals and comments can contain DBCS
characters (same as mbcs option).
dbxextra Generate symbol table information for unreferenced
variables. By default such information is not generated
thus reducing the size of the executable compiled with
the "-g" option.
digraph Allow special digraph
dollar Allow '$' as an identifier character
dpcl Generates symbols for tools based on the Dynamic
Probe Class Library (DPCL)
extchk Perform external name type-checking and function
call checking.
fdpr Collect information about programs for use with
the AIX fdpr (Feedback Directed Program Restructuring)
performance-tuning utility.
funcsect Place instructions for each function in a separate csect.
flttrap Generate instructions to trap floating-point
exceptions.
fold Specifies that constant floating-point expressions
are to be evaluated at compile time.
fullpath Specifies the path information stored for files when
you use "-g" and the symbolic debugger.
heapdebug Enables debug versions of memory management functions.
idirfirst Specify the search order for files included with
the #include "file_name" directive. Use -qidirfirst
with the -Idirectory option. If -qidirfirst option
is specified, the directories specified by the
-Idirectory option are searched before the directory
where the current file resides.
ignerrno Tell the optimizer that the program will never
refer to or set errno. This allows additional
optimizations.
inlglue Generate fast external linkage by inlining the
code (pointer glue code) necessary at calls
via a function pointer and calls to external
procedures.
ldbl128 Increase long double size from 64 to 128 bits.
libansi Assumes that all functions with the name of an
ANSI C library functions are in fact the system functions.
linedebug Generates abbreviated line number and source file name
information for the debugger.
list Produce an object listing; output goes to .lst file.
listopt Display the settings of all options; output goes
to .lst file.
longdouble Increase long double size from 64 to 128 bits.
longlit Changes implicit type selection for integer constants in 64-bit
mode.
longlong Allow long long integers.
macpstr Allow '\p' as the first character of a string constant
which will be replaced by the length in bytes.
makedep Creates an output file that contains targets suitable for
inclusion in a description file for the AIX make command.
maxerr Instructs the compiler to halt compilation when a
specified number of errors of specified or greater
severity is reached.
mbcs String literals and comments can contain DBCS
characters (same as dbcs option).
noprint Direct listing to /dev/null.
nostdinc Specify which files are included with the #include
"file_name" and #include <file_name> directives.
If -qnostdinc is specified, the /usr/include directory
is not searched.
once Only process each include file one time.
The default is -qnoonce.
optimize Same as O, and O2. Perform optimization that is the
mix between speed and size.
pascal Accept and ignore the keyword 'pascal' as a
type modifier.
pdf1, pdf2 Perform aggressive optimizations with profile
directed feedback.
phsinfo Produce compiler phase information; output goes to
stdout.
proto Assert that procedure call points agree
with their declarations even if the procedure has
not been prototyped. This allows the caller to
pass floating point arguments in floating point
registers instead of general purpose registers.
ro Put string literals in read only area.
roconst Put constant values in read only area.
showinc Include the source of all included files in the
source listing, if the SOURCE option is in effect.
source Produce a source listing; output goes to .lst file.
srcmsg Reconstruct source lines in error along with the
diagnostic messages in the stderr file.
statsym Adds user-defined, nonexternal names that have a
persistent storage class, such as initialized and
uninitialized static variables, to the name list
(the symbol table of xcoff objects).
strict Turns off aggresive optimizations which have the
potential to alter the semantics of a user's program.
This option also sets -qfloat=nofltint:norsqrt.
strict_induction
Turns off induction variable optimizations that have
the potential to alter the semantics of a user's program.
Use this option only if your program contains overflows or
wrap arounds of loop induction variables.
syntaxonly Causes the compiler to perform syntax checking without
generating an object file.
threaded Indicates to the compiler that the progam will execute in
multi-threaded environment.
upconv Preserves the unsigned specification when performing
integral promotions.
warn64 Enables checking for possible long-to-integer truncation.
xcall Generate code to static routines within a compilation
unit as if they were external routines.
xref Produce a cross-reference listing containing
only referenced names.
Options with parameters:
aggrcopy=[no]overlap
Asserts whether source and destination of aggregate
assignments overlap.
alias=<option>
Specifies the aliasing assertion to be applied to
your compilation unit.
The available options are:
typ Pointers to different types are never aliased.
allp Pointers are never aliased.
addr Variables are disjoint from pointers
unless their address is taken.
ansi Pointers can only point to an object of the
same type. Require -O option.
align=<algnopt>
power The compiler uses the RISC System/6000
alignment rules.
full The compiler uses the RISC System/6000
alignment rules. This is the same as power.
mac68k The compiler uses the Macintosh**
alignment rules.
twobyte The compiler uses the Macintosh alignment rules.
The mac68k option is the same as twobyte.
packed The compiler uses the packed alignment rules.
natural The compiler maps structure members to
their natural boundaries.
bit_packed The same as packed. In addition, bit-fields are packed
as tight as possible.
arch=<option>
Specifies the architecture on which the executable
program will be run.
The available options are:
com Produce an object that contains instructions
that will run on all the POWER and PowerPC
hardware platforms.
pwr Produce an object that contains instructions
that will run on the POWER hardware
platform.
pwr2 Produce an object that contains instructions
that will run on the POWER2 hardware
platform.
pwrx Same as pwr2.
ppc Produce an object that contains instructions
that will run on any of the 32-bit PowerPC
hardware platforms.
ppcgr Produce an object that contains optional
graphics instructions for PowerPC processors.
pwr2s Produce an object that contains instructions
that will run on a pwr2s chip.
p2sc Produce an object that contains instructions
that will run on a p2sc chip.
601 Produce an object that contains instructions
that will run on a 601 chip.
602 Produce an object that contains instructions
that will run on a 602 chip.
603 Produce an object that contains instructions
that will run on a 603 chip.
604 Produce an object that contains instructions
that will run on a 604 chip.
403 Produce an object that contains instructions
that will run on a 403 chip.
rs64a Produce an object that contains instructions
that will run on a rs64a chip.
rs64b Produce an object that contains instructions
that will run on a rs64b chip.
The default is -qarch=com. If the -qarch option is
specified without the -qtune=<option>, the compiler
uses the default -qtune value for the specified
architecture. Refer to C on AIX online documentation to
find actual default setting of -qtune for a given -qarch.
assert=<option>
Specifies the aliasing assertion to be applied to
your compilation unit.
The available options are:
typ Pointers to different types are never aliased.
allp Pointers are never aliased.
addr Variables are disjoint from pointers
unless their address is taken.
attr=full Produce an attribute listing containing all names,
whether referenced or not; output goes to .lst file.
bitfields=signed
bitfields=unsigned
Specify whether bitfields will be signed or unsigned.
cache=<suboption>:<suboption>...
Describe the cache configuration for a specific target
execution machine. See C for AIX online documentation for
details.
chars=signed
chars=unsigned
Specify whether the data type char will be signed
or unsigned.
check=<option>
Generate code to check for run-time checks.
nullptr Runtime checking of addresses
contained in pointer variables used to
reference storage.
bounds Runtime checking of addresses when
subscripting within an object of known size.
divzero Runtime checking of integer division.
A trap will occur if an attempt is made to
divide by zero.
all Switches on all the above suboptions.
dataimported=<name1>:<name2>: ...
Specify which data items are imported. If no names are
specified, all data items are assumed to be imported.
This is the default.
datalocal=<name1>:<name2>: ...
Specify which data items are local. If no names are
specified, all data items are assumed to be local.
enum=<enumopt>
Specify whether minimum-sized enumerated types will be
produced or not. <enumopt> can be either small, int,
1, 2 or 4.
small denotes that either one, two or four bytes of
storage will be allocated for enum variables based on
the range of the enum constants.
int is the default, and causes enum variables to be
treated as though they were of type signed int
depending on the range of the enum constants.
1 will cause enum variables to be packed into 1 byte.
2 will cause enum variables to be packed into 2 bytes.
4 will cause enum variables to be packed into 4 bytes.
flag=<sev1>:<sev2>
Specify severity level of diagnostics to be reported
in source listing (<sev1>), and stderr (<sev2>);
the severity levels are one of <i,w,e,s,u>.
float=<opt1>:<opt2>:...:<optN>
The available options are:
emulate Function calls are emitted in place of
PowerPC floating-point instructions.
Use this option only in a single-threaded
stand-alone environment, targeting the
PowerPC 403 processor.
Do not use this suboption with any of the
following:
o -qarch=pwr, -qarch=pwr2, -qarch=pwrx
o -qlongdouble, -qldbl128
o cc128, xlc128 invocation commands
fltint Specify whether range checking of floating
point to integer conversions is done.
Default at -O2: -qfloat=nofltint.
Default at -O3: -qfloat=fltint.
hsflt Never round single-precision expressions,
and don't perform range checking for
floating-point to integer conversions.
hssngl Round single-precision expressions only
when the results are stored into REAL*4 memory
locations.
nans Detect conversion of single-precision NaNS to
double precision call checking.
nomaf Suppress generation of multiply-add
instructions.
nofold Suppress compile-time evaluation of constant
floating-point expressions.
rndsngl Ensure strict adherence to IEEE standard.
all operations on single-precision values
produce results that remain in single
precision.
rrm Specify run-time rounding mode. Compile with
this option if the run-time rounding mode
is round toward minus infinity, round toward
positive infinity, or not known.
rsqrt Specify whether a division by the result of a
square root can be replaced with a multiply
by the reciprocal of the square root.
Default at -O2: -qfloat=norsqrt.
Default at -O3: -qfloat=rsqrt.
spnans Generate extra instructions to detect signalling
NaN on conversion from single precision to
double precision. Obsolete; use the equivalent
-qfloat=nans option.
flttrap=<opt1>:<opt2>:...:<optN>
Generate instructions to detect and trap floating-point.
The available options are: overflow, underflow,
zerodivide, invalid, inexact, enable, imprecise.
halt=<sev> Stop compiler after first phase if severity of errors
detected equals or exceeds <sev>; the severity
level is one of i, w, e, s, u.
genpcomp[=dirname]
Generate precompiled include files. See C for AIX online
documentation for details.
genproto=<parmnames>
Produces ANSI prototypes from K&R function definitions.
ignprag=
disjoint Ignore pragma disjoint.
isolated Ignore pragma isolated_call.
omp Ignore OpenMP parallel processing pragmas.
ibm Ignore IBM parallel processing pragmas.
all Ignore all the above pragmas.
info
info=all
Produce additional lint-like messages. Turns on all
diagnostic messages for all groups.
info=<group>
Produce additional lint-like messages based on <group>.
cmp Possible redundancies in unsigned comparisons
cnd Possible redundancies or problems in conditional
expressions
cns Operations involving constants.
cnv Conversions
dcl Consistency of declarations
eff Statements with no effect
enu Consistency of enum variables
ext Unused external definitions
gen General diagnostic messages
gnr Generation of temporary variables
got Use of goto statements
ini Possible problems with initialization
inl Functions not inlined
lan Language level effects
obs Obsolete features
ord Unspecified order of evaluation
par Unused parameters
por Nonportable language constructs
ppc Possible problems with using the preprocessor
ppt Trace of preprocessor actions
pro Missing function prototypes
rea Code that cannot be reached
ret Consistency of return statements
trd Possible truncation or loss of data or precision
tru Variable names truncated by the compiler
uni Unitialized variables
use Unused auto and static variables
vft Generation of virtual function tables
private Lists shared variables made private to a parallel
loop.
reduction
Lists all variables that are recognized as
reduction variables inside a parallel loop.
initauto=<hh>
Initialialize automatic storage to <hh>. <hh> is a
hexadecimal value. This generates extra code and
should only be used for error determination.
inline=<x> This is functionally equivalent to the -Q option.
ipa[=<ipa_options>]
Turn on inter-procedural analysis. See C for AIX
online documentation for details.
isolated_call=<name1>:<name2>: ...
Specify that the calls to the functions listed have no
side effects. <name1> and <name2> are function names.
The user may specify as many function names as
necessary.
langlvl=<langlvl>:<feature>:...
Specify language level and/or features to be enabled
during compilation.
<langlvl> can be ansi, saal2, saa, extended, or classic.
<feature> can be:
[no]ucs enables or disables support for universal
character names.
maxmem=<num>
Limit the amount of memory used by space intensive
optimizations to <num>. <num> specified in kilobytes.
optimize
Same as -O. Optimize generated code using the best
best combination for speed and size.
optimize=<level>
Enables different levels of optimization.
2 Same as -O and -qoptimize.
3 Same as -O3. Aggresive optimization.
4 Same as -O4. Internally generates -O3 -qipa
with automatic architecture and tuning option
generation.
5 Same as -O5. Internally generates -O3 -qipa=level=2
with automatic architecture and tuning option
generation.
proclocal=<name1>:<name2>: ...
Specify which functions are local.
If no filenames are specified, all invoked functions
are assumed to be defined within the current file.
The last explicit specification for a function takes
precedence.
procimported=<name1>:<name2>: ...
Specify which functions are imported. If no filenames
are specified, all invoked functions are assumed to be
defined outside the current file. The last explicit
specification for a function takes precedence.
procunknown=<name1>:<name2>: ...
Specify which functions are unknown to be local or
imported. If no filenames are specified, all functions
called are assumed to be unknown. This is the default
when no user options are specified. The last explicit
specification for a function takes precedence.
smp[=suboption[:suboption] [ ... ]]
[no]auto Enables or disables automatic parallelization.
[no]explicit Enables or disables explicit parallelization.
schedule=<sched_type>[=n]
Specifies what kind of scheduling algorithms
and chunking are used for loops to which no
other scheduling algorithm has been explicitly
assigned in the source code. Valid options for
<sched_type> are:
* dynamic[=n]
* guided[=n]
* static[=n]
* affinity[=n]
* runtime
For more information, see C for AIX online
documentation.
[no]nested_par Enables or disables parallelization of
nested parallel constructs.
[no]rec_locks Specifies whether recursive or regular locks
should be used to implement critical sections.
[no]omp Enables or disables strict OpenMP mode.
spill=<size>
Specify the size of the register allocation spill
area.
suppress=<msg_num>:<msg_num>...
Suppress compiler messages.
nosuppress Don't suppress compiler messages.
tabsize=<size>
Changes the length of tabs in your source file.
tbtable=<option>
Generate a traceback table for each function and
place it in the text segment at the end of the
function code.
The available options are:
none No traceback table is generated.
full A full traceback table is generated.
This is the default with -g specified.
small A traceback table is generated with no name or
parameter information.
This is the default when -g is NOT specified.
tune=<option>
Specifies the architecture system for which the
executable program is optimized.
The available options are:
403 Produce an object optimized for all the
PowerPC 403 processors.
Use -qfloat=emulate to emulate the floating-point
instructions omitted by the 403 processor.
601 Produce an object optimized for all the
PowerPC 601 processors.
602 Produce an object optimized for all the
PowerPC 602 processors.
603 Produce an object optimized for all the
PowerPC 603 processors.
604 Produce an object optimized for all the
PowerPC 604 processors.
p2sc Produce an object optimized for all the
p2sc processors.
pwr Produce an object optimized for the POWER
hardware platform.
pwr2 Produce an object optimized for the
POWER2 hardware platform.
pwr2s Produce an object optimized for the
POWER2 hardware platform, avoiding certain
quadruple-precision instructions that would
slow program performance.
pwrx Same as pwr2.
rs64a Produce an object optimized for the rs64a
processor.
rs64b Produce an object optimized for the rs64b
processor.
pwr3 Produce an object optimized for the POWER3
processor.
unroll[=n] Allow the optimizer to unroll loops.
usepcomp[=dirname]
Use precompiled include files. See C for AIX online
documentation for details.
xref=full Produce a cross-reference listing containing
all names, whether referenced or not; output goes
to .lst file.
For a detailed description of each option, please refer to the
C for AIX online documentation.
configure:3096: $? = 249
configure:3098: cc -v </dev/null >&5
C for AIX Compiler
Usage:
xlc [ option | inputfile ]...
cc [ option | inputfile ]...
c89 [ option | inputfile ]...
xlc128 [ option | inputfile ]...
cc128 [ option | inputfile ]...
xlc_r [ option | inputfile ]...
cc_r [ option | inputfile ]...
xlc_r4 [ option | inputfile ]...
cc_r4 [ option | inputfile ]...
xlc_r7 [ option | inputfile ]...
cc_r7 [ option | inputfile ]...
Description:
The xlc and related commands compile C source files.
They also processes assembler source files and object files. Unless the
-c option is specified, xlc calls the linkage editor to produce a
single object file. Input files may be any of the following:
1. file name with .c suffix: C source file
2. file name with .i suffix: preprocessed C source file
3. file name with .so suffix: shared object file
4. file name with .o suffix: object file for ld command
5. file name with .s suffix: assembler source file
Options:
Options can be flag options or keyword options:
1. Flag options:
-# Display language processing commands but do
not invoke them; output goes to stdout.
-bdynamic, -bstatic
Determines which types of library files are searched by
the linkage editor.
-brtl Tells the linkage editor to accept both .so and .a
library file types.
-B<prefix>
Construct alternate compiler/assembler/linkage editor
program names. <prefix> is added to the beginning of
the standard program names.
-c Do not send object files to the linkage editor.
-C Write comments to output when doing preprocessing,
used with -E and -P.
-D<name>[=<def>]
Define <name> as in #define directive. If <def> is
not specified, 1 is assumed.
-E Preprocess but do not compile; output goes to stdout
-f<filename>
Passes to the linkage editor the filename of a file
containing a list of input files to be processed.
-F<x>[:<stanza>]
Use alternate configuration file <x> with optional
<stanza>. If <stanza> is not specified, the assumed stanza
is the name of the command used to invoke the compiler.
-g Produce information for the debugger.
-I<dir> Search in directory <dir> for include files that
do not start with an absolute path.
-l<key> Search the specified library file,
where <key> selects the file lib<key>.a.
-L<dir> Search in directory <dir> for files specified by -l<key>.
-ma Generate inline calls to the "alloca" function as if
"#pragma alloca" directives were in the source file.
-M Generate information to be included in a "make"
description file; output goes to .u file.
-o<name> Name the executable file <name> instead of a.out.
When used with the -c option and one source file,
name the object file <name> instead of filename.o.
If <name> is the name of a directory, files generated by
the compiler will be placed into that directory.
-O Optimize generated code.
-O2 Same as -O.
-O3 Perform some memory and compile time intensive
optimizations in addition to those executed with -O2.
The -O3 specific optimizations have the potential to
alter the semantics of a user's program.
The compiler guards against these optimizations at -O2
and the option -qstrict is provided at -O3 to turn off
these aggressive optimizations.
-O4 Equivalent to -O3 -qipa with automatic generation of
architecture and tuning option ideal for that platform.
-O5 Equivalent to -O3 -qipa=level=2 with automatic generation of
architecture and tuning option ideal for that platform.
-p Generate profiling support code.
-pg Generate profiling support code including BSD
profiling support.
-P Preprocess but do not compile; output goes to .i file.
-Q<x>, -qinline<x>
Inline all appropriate functions where x can be
one of the following:
! Not inline any function
=<lc> Inline if number of source statement in
function is less than the number specified
in <lc>.
-<nm> Not inline function listed by names in <nm>
+<nm> Attempt to inline function listed by names
in <nm>.
-r Permits the output file to be produced even if it
contains unresolved symbols.
-S Produce a .s file for any source file processed by the
compiler.
-t<x> Apply prefix from the -B option to the specified program <x>,
where x can be one or more of the following:
p = preprocessor
c = compiler frontend
b = compiler backend
i = compiler inliner
a = assembler
l = linkage editor.
m = 'munch' utility
I = inter procedural analysis - compile phase
L = inter procedural analysis - link phase
-U<name> Undefine name as in #undef directive.
-v Displays language processing commands as they
are invoked by xlc; output goes to stdout.
-w Suppress informational, language-level, and
warning messages.
-W<x,y> Give the options <y> to the compiler program <x>
where x can be one or more of the following:
<p,c,b,i,a,l,I,L,m>
-y<x> Specify compile-time rounding of constant floating-point
expressions, where <x> can be one of the following:
n = round to nearest
m = round toward minus infinity
p = round toward positive infinity
z = round toward zero.
2. Keyword options:
Keyword options are specified in one of the following ways:
-q<option>
-q<option>=<parameter>
-q<option>=<parameter>:<parameter>
where <option> is an option name and <parameter> is a
parameter value.
Keyword options with no parameters represent switches
that may be either on or off. The keyword by itself turns
the switch on, and the keyword preceded by the letters NO
turns the switch off. For example, -qLIST tells the
compiler to produce a listing and -qNOLIST tells the
compiler not to produce a listing. If an option that
represents a switch is set more than once, the compiler
uses the last setting.
Keyword option and parameter names may appear in either
UPPER CASE or lower case letters in the ixlc command.
Options without parameters:
32 Selects 32-bit compiler mode.
64 Selects 64-bit compiler mode.
ansialias Use type-based aliasing during optimization.
attr Produce an attribute listing containing only
referenced names; output goes to .lst file.
compact Reduce code size where possible, at the expense
of execution speed. Code size is reduced by
inhibiting optimizations that replicate or expand
code inline.
cpluscmt Permit "//" to introduce a comment that lasts
until the end of the current source line, as in C++.
dbcs String literals and comments can contain DBCS
characters (same as mbcs option).
dbxextra Generate symbol table information for unreferenced
variables. By default such information is not generated
thus reducing the size of the executable compiled with
the "-g" option.
digraph Allow special digraph
dollar Allow '$' as an identifier character
dpcl Generates symbols for tools based on the Dynamic
Probe Class Library (DPCL)
extchk Perform external name type-checking and function
call checking.
fdpr Collect information about programs for use with
the AIX fdpr (Feedback Directed Program Restructuring)
performance-tuning utility.
funcsect Place instructions for each function in a separate csect.
flttrap Generate instructions to trap floating-point
exceptions.
fold Specifies that constant floating-point expressions
are to be evaluated at compile time.
fullpath Specifies the path information stored for files when
you use "-g" and the symbolic debugger.
heapdebug Enables debug versions of memory management functions.
idirfirst Specify the search order for files included with
the #include "file_name" directive. Use -qidirfirst
with the -Idirectory option. If -qidirfirst option
is specified, the directories specified by the
-Idirectory option are searched before the directory
where the current file resides.
ignerrno Tell the optimizer that the program will never
refer to or set errno. This allows additional
optimizations.
inlglue Generate fast external linkage by inlining the
code (pointer glue code) necessary at calls
via a function pointer and calls to external
procedures.
ldbl128 Increase long double size from 64 to 128 bits.
libansi Assumes that all functions with the name of an
ANSI C library functions are in fact the system functions.
linedebug Generates abbreviated line number and source file name
information for the debugger.
list Produce an object listing; output goes to .lst file.
listopt Display the settings of all options; output goes
to .lst file.
longdouble Increase long double size from 64 to 128 bits.
longlit Changes implicit type selection for integer constants in 64-bit
mode.
longlong Allow long long integers.
macpstr Allow '\p' as the first character of a string constant
which will be replaced by the length in bytes.
makedep Creates an output file that contains targets suitable for
inclusion in a description file for the AIX make command.
maxerr Instructs the compiler to halt compilation when a
specified number of errors of specified or greater
severity is reached.
mbcs String literals and comments can contain DBCS
characters (same as dbcs option).
noprint Direct listing to /dev/null.
nostdinc Specify which files are included with the #include
"file_name" and #include <file_name> directives.
If -qnostdinc is specified, the /usr/include directory
is not searched.
once Only process each include file one time.
The default is -qnoonce.
optimize Same as O, and O2. Perform optimization that is the
mix between speed and size.
pascal Accept and ignore the keyword 'pascal' as a
type modifier.
pdf1, pdf2 Perform aggressive optimizations with profile
directed feedback.
phsinfo Produce compiler phase information; output goes to
stdout.
proto Assert that procedure call points agree
with their declarations even if the procedure has
not been prototyped. This allows the caller to
pass floating point arguments in floating point
registers instead of general purpose registers.
ro Put string literals in read only area.
roconst Put constant values in read only area.
showinc Include the source of all included files in the
source listing, if the SOURCE option is in effect.
source Produce a source listing; output goes to .lst file.
srcmsg Reconstruct source lines in error along with the
diagnostic messages in the stderr file.
statsym Adds user-defined, nonexternal names that have a
persistent storage class, such as initialized and
uninitialized static variables, to the name list
(the symbol table of xcoff objects).
strict Turns off aggresive optimizations which have the
potential to alter the semantics of a user's program.
This option also sets -qfloat=nofltint:norsqrt.
strict_induction
Turns off induction variable optimizations that have
the potential to alter the semantics of a user's program.
Use this option only if your program contains overflows or
wrap arounds of loop induction variables.
syntaxonly Causes the compiler to perform syntax checking without
generating an object file.
threaded Indicates to the compiler that the progam will execute in
multi-threaded environment.
upconv Preserves the unsigned specification when performing
integral promotions.
warn64 Enables checking for possible long-to-integer truncation.
xcall Generate code to static routines within a compilation
unit as if they were external routines.
xref Produce a cross-reference listing containing
only referenced names.
Options with parameters:
aggrcopy=[no]overlap
Asserts whether source and destination of aggregate
assignments overlap.
alias=<option>
Specifies the aliasing assertion to be applied to
your compilation unit.
The available options are:
typ Pointers to different types are never aliased.
allp Pointers are never aliased.
addr Variables are disjoint from pointers
unless their address is taken.
ansi Pointers can only point to an object of the
same type. Require -O option.
align=<algnopt>
power The compiler uses the RISC System/6000
alignment rules.
full The compiler uses the RISC System/6000
alignment rules. This is the same as power.
mac68k The compiler uses the Macintosh**
alignment rules.
twobyte The compiler uses the Macintosh alignment rules.
The mac68k option is the same as twobyte.
packed The compiler uses the packed alignment rules.
natural The compiler maps structure members to
their natural boundaries.
bit_packed The same as packed. In addition, bit-fields are packed
as tight as possible.
arch=<option>
Specifies the architecture on which the executable
program will be run.
The available options are:
com Produce an object that contains instructions
that will run on all the POWER and PowerPC
hardware platforms.
pwr Produce an object that contains instructions
that will run on the POWER hardware
platform.
pwr2 Produce an object that contains instructions
that will run on the POWER2 hardware
platform.
pwrx Same as pwr2.
ppc Produce an object that contains instructions
that will run on any of the 32-bit PowerPC
hardware platforms.
ppcgr Produce an object that contains optional
graphics instructions for PowerPC processors.
pwr2s Produce an object that contains instructions
that will run on a pwr2s chip.
p2sc Produce an object that contains instructions
that will run on a p2sc chip.
601 Produce an object that contains instructions
that will run on a 601 chip.
602 Produce an object that contains instructions
that will run on a 602 chip.
603 Produce an object that contains instructions
that will run on a 603 chip.
604 Produce an object that contains instructions
that will run on a 604 chip.
403 Produce an object that contains instructions
that will run on a 403 chip.
rs64a Produce an object that contains instructions
that will run on a rs64a chip.
rs64b Produce an object that contains instructions
that will run on a rs64b chip.
The default is -qarch=com. If the -qarch option is
specified without the -qtune=<option>, the compiler
uses the default -qtune value for the specified
architecture. Refer to C on AIX online documentation to
find actual default setting of -qtune for a given -qarch.
assert=<option>
Specifies the aliasing assertion to be applied to
your compilation unit.
The available options are:
typ Pointers to different types are never aliased.
allp Pointers are never aliased.
addr Variables are disjoint from pointers
unless their address is taken.
attr=full Produce an attribute listing containing all names,
whether referenced or not; output goes to .lst file.
bitfields=signed
bitfields=unsigned
Specify whether bitfields will be signed or unsigned.
cache=<suboption>:<suboption>...
Describe the cache configuration for a specific target
execution machine. See C for AIX online documentation for
details.
chars=signed
chars=unsigned
Specify whether the data type char will be signed
or unsigned.
check=<option>
Generate code to check for run-time checks.
nullptr Runtime checking of addresses
contained in pointer variables used to
reference storage.
bounds Runtime checking of addresses when
subscripting within an object of known size.
divzero Runtime checking of integer division.
A trap will occur if an attempt is made to
divide by zero.
all Switches on all the above suboptions.
dataimported=<name1>:<name2>: ...
Specify which data items are imported. If no names are
specified, all data items are assumed to be imported.
This is the default.
datalocal=<name1>:<name2>: ...
Specify which data items are local. If no names are
specified, all data items are assumed to be local.
enum=<enumopt>
Specify whether minimum-sized enumerated types will be
produced or not. <enumopt> can be either small, int,
1, 2 or 4.
small denotes that either one, two or four bytes of
storage will be allocated for enum variables based on
the range of the enum constants.
int is the default, and causes enum variables to be
treated as though they were of type signed int
depending on the range of the enum constants.
1 will cause enum variables to be packed into 1 byte.
2 will cause enum variables to be packed into 2 bytes.
4 will cause enum variables to be packed into 4 bytes.
flag=<sev1>:<sev2>
Specify severity level of diagnostics to be reported
in source listing (<sev1>), and stderr (<sev2>);
the severity levels are one of <i,w,e,s,u>.
float=<opt1>:<opt2>:...:<optN>
The available options are:
emulate Function calls are emitted in place of
PowerPC floating-point instructions.
Use this option only in a single-threaded
stand-alone environment, targeting the
PowerPC 403 processor.
Do not use this suboption with any of the
following:
o -qarch=pwr, -qarch=pwr2, -qarch=pwrx
o -qlongdouble, -qldbl128
o cc128, xlc128 invocation commands
fltint Specify whether range checking of floating
point to integer conversions is done.
Default at -O2: -qfloat=nofltint.
Default at -O3: -qfloat=fltint.
hsflt Never round single-precision expressions,
and don't perform range checking for
floating-point to integer conversions.
hssngl Round single-precision expressions only
when the results are stored into REAL*4 memory
locations.
nans Detect conversion of single-precision NaNS to
double precision call checking.
nomaf Suppress generation of multiply-add
instructions.
nofold Suppress compile-time evaluation of constant
floating-point expressions.
rndsngl Ensure strict adherence to IEEE standard.
all operations on single-precision values
produce results that remain in single
precision.
rrm Specify run-time rounding mode. Compile with
this option if the run-time rounding mode
is round toward minus infinity, round toward
positive infinity, or not known.
rsqrt Specify whether a division by the result of a
square root can be replaced with a multiply
by the reciprocal of the square root.
Default at -O2: -qfloat=norsqrt.
Default at -O3: -qfloat=rsqrt.
spnans Generate extra instructions to detect signalling
NaN on conversion from single precision to
double precision. Obsolete; use the equivalent
-qfloat=nans option.
flttrap=<opt1>:<opt2>:...:<optN>
Generate instructions to detect and trap floating-point.
The available options are: overflow, underflow,
zerodivide, invalid, inexact, enable, imprecise.
halt=<sev> Stop compiler after first phase if severity of errors
detected equals or exceeds <sev>; the severity
level is one of i, w, e, s, u.
genpcomp[=dirname]
Generate precompiled include files. See C for AIX online
documentation for details.
genproto=<parmnames>
Produces ANSI prototypes from K&R function definitions.
ignprag=
disjoint Ignore pragma disjoint.
isolated Ignore pragma isolated_call.
omp Ignore OpenMP parallel processing pragmas.
ibm Ignore IBM parallel processing pragmas.
all Ignore all the above pragmas.
info
info=all
Produce additional lint-like messages. Turns on all
diagnostic messages for all groups.
info=<group>
Produce additional lint-like messages based on <group>.
cmp Possible redundancies in unsigned comparisons
cnd Possible redundancies or problems in conditional
expressions
cns Operations involving constants.
cnv Conversions
dcl Consistency of declarations
eff Statements with no effect
enu Consistency of enum variables
ext Unused external definitions
gen General diagnostic messages
gnr Generation of temporary variables
got Use of goto statements
ini Possible problems with initialization
inl Functions not inlined
lan Language level effects
obs Obsolete features
ord Unspecified order of evaluation
par Unused parameters
por Nonportable language constructs
ppc Possible problems with using the preprocessor
ppt Trace of preprocessor actions
pro Missing function prototypes
rea Code that cannot be reached
ret Consistency of return statements
trd Possible truncation or loss of data or precision
tru Variable names truncated by the compiler
uni Unitialized variables
use Unused auto and static variables
vft Generation of virtual function tables
private Lists shared variables made private to a parallel
loop.
reduction
Lists all variables that are recognized as
reduction variables inside a parallel loop.
initauto=<hh>
Initialialize automatic storage to <hh>. <hh> is a
hexadecimal value. This generates extra code and
should only be used for error determination.
inline=<x> This is functionally equivalent to the -Q option.
ipa[=<ipa_options>]
Turn on inter-procedural analysis. See C for AIX
online documentation for details.
isolated_call=<name1>:<name2>: ...
Specify that the calls to the functions listed have no
side effects. <name1> and <name2> are function names.
The user may specify as many function names as
necessary.
langlvl=<langlvl>:<feature>:...
Specify language level and/or features to be enabled
during compilation.
<langlvl> can be ansi, saal2, saa, extended, or classic.
<feature> can be:
[no]ucs enables or disables support for universal
character names.
maxmem=<num>
Limit the amount of memory used by space intensive
optimizations to <num>. <num> specified in kilobytes.
optimize
Same as -O. Optimize generated code using the best
best combination for speed and size.
optimize=<level>
Enables different levels of optimization.
2 Same as -O and -qoptimize.
3 Same as -O3. Aggresive optimization.
4 Same as -O4. Internally generates -O3 -qipa
with automatic architecture and tuning option
generation.
5 Same as -O5. Internally generates -O3 -qipa=level=2
with automatic architecture and tuning option
generation.
proclocal=<name1>:<name2>: ...
Specify which functions are local.
If no filenames are specified, all invoked functions
are assumed to be defined within the current file.
The last explicit specification for a function takes
precedence.
procimported=<name1>:<name2>: ...
Specify which functions are imported. If no filenames
are specified, all invoked functions are assumed to be
defined outside the current file. The last explicit
specification for a function takes precedence.
procunknown=<name1>:<name2>: ...
Specify which functions are unknown to be local or
imported. If no filenames are specified, all functions
called are assumed to be unknown. This is the default
when no user options are specified. The last explicit
specification for a function takes precedence.
smp[=suboption[:suboption] [ ... ]]
[no]auto Enables or disables automatic parallelization.
[no]explicit Enables or disables explicit parallelization.
schedule=<sched_type>[=n]
Specifies what kind of scheduling algorithms
and chunking are used for loops to which no
other scheduling algorithm has been explicitly
assigned in the source code. Valid options for
<sched_type> are:
* dynamic[=n]
* guided[=n]
* static[=n]
* affinity[=n]
* runtime
For more information, see C for AIX online
documentation.
[no]nested_par Enables or disables parallelization of
nested parallel constructs.
[no]rec_locks Specifies whether recursive or regular locks
should be used to implement critical sections.
[no]omp Enables or disables strict OpenMP mode.
spill=<size>
Specify the size of the register allocation spill
area.
suppress=<msg_num>:<msg_num>...
Suppress compiler messages.
nosuppress Don't suppress compiler messages.
tabsize=<size>
Changes the length of tabs in your source file.
tbtable=<option>
Generate a traceback table for each function and
place it in the text segment at the end of the
function code.
The available options are:
none No traceback table is generated.
full A full traceback table is generated.
This is the default with -g specified.
small A traceback table is generated with no name or
parameter information.
This is the default when -g is NOT specified.
tune=<option>
Specifies the architecture system for which the
executable program is optimized.
The available options are:
403 Produce an object optimized for all the
PowerPC 403 processors.
Use -qfloat=emulate to emulate the floating-point
instructions omitted by the 403 processor.
601 Produce an object optimized for all the
PowerPC 601 processors.
602 Produce an object optimized for all the
PowerPC 602 processors.
603 Produce an object optimized for all the
PowerPC 603 processors.
604 Produce an object optimized for all the
PowerPC 604 processors.
p2sc Produce an object optimized for all the
p2sc processors.
pwr Produce an object optimized for the POWER
hardware platform.
pwr2 Produce an object optimized for the
POWER2 hardware platform.
pwr2s Produce an object optimized for the
POWER2 hardware platform, avoiding certain
quadruple-precision instructions that would
slow program performance.
pwrx Same as pwr2.
rs64a Produce an object optimized for the rs64a
processor.
rs64b Produce an object optimized for the rs64b
processor.
pwr3 Produce an object optimized for the POWER3
processor.
unroll[=n] Allow the optimizer to unroll loops.
usepcomp[=dirname]
Use precompiled include files. See C for AIX online
documentation for details.
xref=full Produce a cross-reference listing containing
all names, whether referenced or not; output goes
to .lst file.
For a detailed description of each option, please refer to the
C for AIX online documentation.
exec: /usr/local/bin/less(/usr/local/bin/less,//usr/vac/exe/default_msg/vac.help,NULL)
unlink: /tmp/xlcW0TTtxya
unlink: /tmp/xlcW1TTtxyb
unlink: /tmp/xlcW2TTtxyc
configure:3101: $? = 249
configure:3103: cc -V </dev/null >&5
C for AIX Compiler
Usage:
xlc [ option | inputfile ]...
cc [ option | inputfile ]...
c89 [ option | inputfile ]...
xlc128 [ option | inputfile ]...
cc128 [ option | inputfile ]...
xlc_r [ option | inputfile ]...
cc_r [ option | inputfile ]...
xlc_r4 [ option | inputfile ]...
cc_r4 [ option | inputfile ]...
xlc_r7 [ option | inputfile ]...
cc_r7 [ option | inputfile ]...
Description:
The xlc and related commands compile C source files.
They also processes assembler source files and object files. Unless the
-c option is specified, xlc calls the linkage editor to produce a
single object file. Input files may be any of the following:
1. file name with .c suffix: C source file
2. file name with .i suffix: preprocessed C source file
3. file name with .so suffix: shared object file
4. file name with .o suffix: object file for ld command
5. file name with .s suffix: assembler source file
Options:
Options can be flag options or keyword options:
1. Flag options:
-# Display language processing commands but do
not invoke them; output goes to stdout.
-bdynamic, -bstatic
Determines which types of library files are searched by
the linkage editor.
-brtl Tells the linkage editor to accept both .so and .a
library file types.
-B<prefix>
Construct alternate compiler/assembler/linkage editor
program names. <prefix> is added to the beginning of
the standard program names.
-c Do not send object files to the linkage editor.
-C Write comments to output when doing preprocessing,
used with -E and -P.
-D<name>[=<def>]
Define <name> as in #define directive. If <def> is
not specified, 1 is assumed.
-E Preprocess but do not compile; output goes to stdout
-f<filename>
Passes to the linkage editor the filename of a file
containing a list of input files to be processed.
-F<x>[:<stanza>]
Use alternate configuration file <x> with optional
<stanza>. If <stanza> is not specified, the assumed stanza
is the name of the command used to invoke the compiler.
-g Produce information for the debugger.
-I<dir> Search in directory <dir> for include files that
do not start with an absolute path.
-l<key> Search the specified library file,
where <key> selects the file lib<key>.a.
-L<dir> Search in directory <dir> for files specified by -l<key>.
-ma Generate inline calls to the "alloca" function as if
"#pragma alloca" directives were in the source file.
-M Generate information to be included in a "make"
description file; output goes to .u file.
-o<name> Name the executable file <name> instead of a.out.
When used with the -c option and one source file,
name the object file <name> instead of filename.o.
If <name> is the name of a directory, files generated by
the compiler will be placed into that directory.
-O Optimize generated code.
-O2 Same as -O.
-O3 Perform some memory and compile time intensive
optimizations in addition to those executed with -O2.
The -O3 specific optimizations have the potential to
alter the semantics of a user's program.
The compiler guards against these optimizations at -O2
and the option -qstrict is provided at -O3 to turn off
these aggressive optimizations.
-O4 Equivalent to -O3 -qipa with automatic generation of
architecture and tuning option ideal for that platform.
-O5 Equivalent to -O3 -qipa=level=2 with automatic generation of
architecture and tuning option ideal for that platform.
-p Generate profiling support code.
-pg Generate profiling support code including BSD
profiling support.
-P Preprocess but do not compile; output goes to .i file.
-Q<x>, -qinline<x>
Inline all appropriate functions where x can be
one of the following:
! Not inline any function
=<lc> Inline if number of source statement in
function is less than the number specified
in <lc>.
-<nm> Not inline function listed by names in <nm>
+<nm> Attempt to inline function listed by names
in <nm>.
-r Permits the output file to be produced even if it
contains unresolved symbols.
-S Produce a .s file for any source file processed by the
compiler.
-t<x> Apply prefix from the -B option to the specified program <x>,
where x can be one or more of the following:
p = preprocessor
c = compiler frontend
b = compiler backend
i = compiler inliner
a = assembler
l = linkage editor.
m = 'munch' utility
I = inter procedural analysis - compile phase
L = inter procedural analysis - link phase
-U<name> Undefine name as in #undef directive.
-v Displays language processing commands as they
are invoked by xlc; output goes to stdout.
-w Suppress informational, language-level, and
warning messages.
-W<x,y> Give the options <y> to the compiler program <x>
where x can be one or more of the following:
<p,c,b,i,a,l,I,L,m>
-y<x> Specify compile-time rounding of constant floating-point
expressions, where <x> can be one of the following:
n = round to nearest
m = round toward minus infinity
p = round toward positive infinity
z = round toward zero.
2. Keyword options:
Keyword options are specified in one of the following ways:
-q<option>
-q<option>=<parameter>
-q<option>=<parameter>:<parameter>
where <option> is an option name and <parameter> is a
parameter value.
Keyword options with no parameters represent switches
that may be either on or off. The keyword by itself turns
the switch on, and the keyword preceded by the letters NO
turns the switch off. For example, -qLIST tells the
compiler to produce a listing and -qNOLIST tells the
compiler not to produce a listing. If an option that
represents a switch is set more than once, the compiler
uses the last setting.
Keyword option and parameter names may appear in either
UPPER CASE or lower case letters in the ixlc command.
Options without parameters:
32 Selects 32-bit compiler mode.
64 Selects 64-bit compiler mode.
ansialias Use type-based aliasing during optimization.
attr Produce an attribute listing containing only
referenced names; output goes to .lst file.
compact Reduce code size where possible, at the expense
of execution speed. Code size is reduced by
inhibiting optimizations that replicate or expand
code inline.
cpluscmt Permit "//" to introduce a comment that lasts
until the end of the current source line, as in C++.
dbcs String literals and comments can contain DBCS
characters (same as mbcs option).
dbxextra Generate symbol table information for unreferenced
variables. By default such information is not generated
thus reducing the size of the executable compiled with
the "-g" option.
digraph Allow special digraph
dollar Allow '$' as an identifier character
dpcl Generates symbols for tools based on the Dynamic
Probe Class Library (DPCL)
extchk Perform external name type-checking and function
call checking.
fdpr Collect information about programs for use with
the AIX fdpr (Feedback Directed Program Restructuring)
performance-tuning utility.
funcsect Place instructions for each function in a separate csect.
flttrap Generate instructions to trap floating-point
exceptions.
fold Specifies that constant floating-point expressions
are to be evaluated at compile time.
fullpath Specifies the path information stored for files when
you use "-g" and the symbolic debugger.
heapdebug Enables debug versions of memory management functions.
idirfirst Specify the search order for files included with
the #include "file_name" directive. Use -qidirfirst
with the -Idirectory option. If -qidirfirst option
is specified, the directories specified by the
-Idirectory option are searched before the directory
where the current file resides.
ignerrno Tell the optimizer that the program will never
refer to or set errno. This allows additional
optimizations.
inlglue Generate fast external linkage by inlining the
code (pointer glue code) necessary at calls
via a function pointer and calls to external
procedures.
ldbl128 Increase long double size from 64 to 128 bits.
libansi Assumes that all functions with the name of an
ANSI C library functions are in fact the system functions.
linedebug Generates abbreviated line number and source file name
information for the debugger.
list Produce an object listing; output goes to .lst file.
listopt Display the settings of all options; output goes
to .lst file.
longdouble Increase long double size from 64 to 128 bits.
longlit Changes implicit type selection for integer constants in 64-bit
mode.
longlong Allow long long integers.
macpstr Allow '\p' as the first character of a string constant
which will be replaced by the length in bytes.
makedep Creates an output file that contains targets suitable for
inclusion in a description file for the AIX make command.
maxerr Instructs the compiler to halt compilation when a
specified number of errors of specified or greater
severity is reached.
mbcs String literals and comments can contain DBCS
characters (same as dbcs option).
noprint Direct listing to /dev/null.
nostdinc Specify which files are included with the #include
"file_name" and #include <file_name> directives.
If -qnostdinc is specified, the /usr/include directory
is not searched.
once Only process each include file one time.
The default is -qnoonce.
optimize Same as O, and O2. Perform optimization that is the
mix between speed and size.
pascal Accept and ignore the keyword 'pascal' as a
type modifier.
pdf1, pdf2 Perform aggressive optimizations with profile
directed feedback.
phsinfo Produce compiler phase information; output goes to
stdout.
proto Assert that procedure call points agree
with their declarations even if the procedure has
not been prototyped. This allows the caller to
pass floating point arguments in floating point
registers instead of general purpose registers.
ro Put string literals in read only area.
roconst Put constant values in read only area.
showinc Include the source of all included files in the
source listing, if the SOURCE option is in effect.
source Produce a source listing; output goes to .lst file.
srcmsg Reconstruct source lines in error along with the
diagnostic messages in the stderr file.
statsym Adds user-defined, nonexternal names that have a
persistent storage class, such as initialized and
uninitialized static variables, to the name list
(the symbol table of xcoff objects).
strict Turns off aggresive optimizations which have the
potential to alter the semantics of a user's program.
This option also sets -qfloat=nofltint:norsqrt.
strict_induction
Turns off induction variable optimizations that have
the potential to alter the semantics of a user's program.
Use this option only if your program contains overflows or
wrap arounds of loop induction variables.
syntaxonly Causes the compiler to perform syntax checking without
generating an object file.
threaded Indicates to the compiler that the progam will execute in
multi-threaded environment.
upconv Preserves the unsigned specification when performing
integral promotions.
warn64 Enables checking for possible long-to-integer truncation.
xcall Generate code to static routines within a compilation
unit as if they were external routines.
xref Produce a cross-reference listing containing
only referenced names.
Options with parameters:
aggrcopy=[no]overlap
Asserts whether source and destination of aggregate
assignments overlap.
alias=<option>
Specifies the aliasing assertion to be applied to
your compilation unit.
The available options are:
typ Pointers to different types are never aliased.
allp Pointers are never aliased.
addr Variables are disjoint from pointers
unless their address is taken.
ansi Pointers can only point to an object of the
same type. Require -O option.
align=<algnopt>
power The compiler uses the RISC System/6000
alignment rules.
full The compiler uses the RISC System/6000
alignment rules. This is the same as power.
mac68k The compiler uses the Macintosh**
alignment rules.
twobyte The compiler uses the Macintosh alignment rules.
The mac68k option is the same as twobyte.
packed The compiler uses the packed alignment rules.
natural The compiler maps structure members to
their natural boundaries.
bit_packed The same as packed. In addition, bit-fields are packed
as tight as possible.
arch=<option>
Specifies the architecture on which the executable
program will be run.
The available options are:
com Produce an object that contains instructions
that will run on all the POWER and PowerPC
hardware platforms.
pwr Produce an object that contains instructions
that will run on the POWER hardware
platform.
pwr2 Produce an object that contains instructions
that will run on the POWER2 hardware
platform.
pwrx Same as pwr2.
ppc Produce an object that contains instructions
that will run on any of the 32-bit PowerPC
hardware platforms.
ppcgr Produce an object that contains optional
graphics instructions for PowerPC processors.
pwr2s Produce an object that contains instructions
that will run on a pwr2s chip.
p2sc Produce an object that contains instructions
that will run on a p2sc chip.
601 Produce an object that contains instructions
that will run on a 601 chip.
602 Produce an object that contains instructions
that will run on a 602 chip.
603 Produce an object that contains instructions
that will run on a 603 chip.
604 Produce an object that contains instructions
that will run on a 604 chip.
403 Produce an object that contains instructions
that will run on a 403 chip.
rs64a Produce an object that contains instructions
that will run on a rs64a chip.
rs64b Produce an object that contains instructions
that will run on a rs64b chip.
The default is -qarch=com. If the -qarch option is
specified without the -qtune=<option>, the compiler
uses the default -qtune value for the specified
architecture. Refer to C on AIX online documentation to
find actual default setting of -qtune for a given -qarch.
assert=<option>
Specifies the aliasing assertion to be applied to
your compilation unit.
The available options are:
typ Pointers to different types are never aliased.
allp Pointers are never aliased.
addr Variables are disjoint from pointers
unless their address is taken.
attr=full Produce an attribute listing containing all names,
whether referenced or not; output goes to .lst file.
bitfields=signed
bitfields=unsigned
Specify whether bitfields will be signed or unsigned.
cache=<suboption>:<suboption>...
Describe the cache configuration for a specific target
execution machine. See C for AIX online documentation for
details.
chars=signed
chars=unsigned
Specify whether the data type char will be signed
or unsigned.
check=<option>
Generate code to check for run-time checks.
nullptr Runtime checking of addresses
contained in pointer variables used to
reference storage.
bounds Runtime checking of addresses when
subscripting within an object of known size.
divzero Runtime checking of integer division.
A trap will occur if an attempt is made to
divide by zero.
all Switches on all the above suboptions.
dataimported=<name1>:<name2>: ...
Specify which data items are imported. If no names are
specified, all data items are assumed to be imported.
This is the default.
datalocal=<name1>:<name2>: ...
Specify which data items are local. If no names are
specified, all data items are assumed to be local.
enum=<enumopt>
Specify whether minimum-sized enumerated types will be
produced or not. <enumopt> can be either small, int,
1, 2 or 4.
small denotes that either one, two or four bytes of
storage will be allocated for enum variables based on
the range of the enum constants.
int is the default, and causes enum variables to be
treated as though they were of type signed int
depending on the range of the enum constants.
1 will cause enum variables to be packed into 1 byte.
2 will cause enum variables to be packed into 2 bytes.
4 will cause enum variables to be packed into 4 bytes.
flag=<sev1>:<sev2>
Specify severity level of diagnostics to be reported
in source listing (<sev1>), and stderr (<sev2>);
the severity levels are one of <i,w,e,s,u>.
float=<opt1>:<opt2>:...:<optN>
The available options are:
emulate Function calls are emitted in place of
PowerPC floating-point instructions.
Use this option only in a single-threaded
stand-alone environment, targeting the
PowerPC 403 processor.
Do not use this suboption with any of the
following:
o -qarch=pwr, -qarch=pwr2, -qarch=pwrx
o -qlongdouble, -qldbl128
o cc128, xlc128 invocation commands
fltint Specify whether range checking of floating
point to integer conversions is done.
Default at -O2: -qfloat=nofltint.
Default at -O3: -qfloat=fltint.
hsflt Never round single-precision expressions,
and don't perform range checking for
floating-point to integer conversions.
hssngl Round single-precision expressions only
when the results are stored into REAL*4 memory
locations.
nans Detect conversion of single-precision NaNS to
double precision call checking.
nomaf Suppress generation of multiply-add
instructions.
nofold Suppress compile-time evaluation of constant
floating-point expressions.
rndsngl Ensure strict adherence to IEEE standard.
all operations on single-precision values
produce results that remain in single
precision.
rrm Specify run-time rounding mode. Compile with
this option if the run-time rounding mode
is round toward minus infinity, round toward
positive infinity, or not known.
rsqrt Specify whether a division by the result of a
square root can be replaced with a multiply
by the reciprocal of the square root.
Default at -O2: -qfloat=norsqrt.
Default at -O3: -qfloat=rsqrt.
spnans Generate extra instructions to detect signalling
NaN on conversion from single precision to
double precision. Obsolete; use the equivalent
-qfloat=nans option.
flttrap=<opt1>:<opt2>:...:<optN>
Generate instructions to detect and trap floating-point.
The available options are: overflow, underflow,
zerodivide, invalid, inexact, enable, imprecise.
halt=<sev> Stop compiler after first phase if severity of errors
detected equals or exceeds <sev>; the severity
level is one of i, w, e, s, u.
genpcomp[=dirname]
Generate precompiled include files. See C for AIX online
documentation for details.
genproto=<parmnames>
Produces ANSI prototypes from K&R function definitions.
ignprag=
disjoint Ignore pragma disjoint.
isolated Ignore pragma isolated_call.
omp Ignore OpenMP parallel processing pragmas.
ibm Ignore IBM parallel processing pragmas.
all Ignore all the above pragmas.
info
info=all
Produce additional lint-like messages. Turns on all
diagnostic messages for all groups.
info=<group>
Produce additional lint-like messages based on <group>.
cmp Possible redundancies in unsigned comparisons
cnd Possible redundancies or problems in conditional
expressions
cns Operations involving constants.
cnv Conversions
dcl Consistency of declarations
eff Statements with no effect
enu Consistency of enum variables
ext Unused external definitions
gen General diagnostic messages
gnr Generation of temporary variables
got Use of goto statements
ini Possible problems with initialization
inl Functions not inlined
lan Language level effects
obs Obsolete features
ord Unspecified order of evaluation
par Unused parameters
por Nonportable language constructs
ppc Possible problems with using the preprocessor
ppt Trace of preprocessor actions
pro Missing function prototypes
rea Code that cannot be reached
ret Consistency of return statements
trd Possible truncation or loss of data or precision
tru Variable names truncated by the compiler
uni Unitialized variables
use Unused auto and static variables
vft Generation of virtual function tables
private Lists shared variables made private to a parallel
loop.
reduction
Lists all variables that are recognized as
reduction variables inside a parallel loop.
initauto=<hh>
Initialialize automatic storage to <hh>. <hh> is a
hexadecimal value. This generates extra code and
should only be used for error determination.
inline=<x> This is functionally equivalent to the -Q option.
ipa[=<ipa_options>]
Turn on inter-procedural analysis. See C for AIX
online documentation for details.
isolated_call=<name1>:<name2>: ...
Specify that the calls to the functions listed have no
side effects. <name1> and <name2> are function names.
The user may specify as many function names as
necessary.
langlvl=<langlvl>:<feature>:...
Specify language level and/or features to be enabled
during compilation.
<langlvl> can be ansi, saal2, saa, extended, or classic.
<feature> can be:
[no]ucs enables or disables support for universal
character names.
maxmem=<num>
Limit the amount of memory used by space intensive
optimizations to <num>. <num> specified in kilobytes.
optimize
Same as -O. Optimize generated code using the best
best combination for speed and size.
optimize=<level>
Enables different levels of optimization.
2 Same as -O and -qoptimize.
3 Same as -O3. Aggresive optimization.
4 Same as -O4. Internally generates -O3 -qipa
with automatic architecture and tuning option
generation.
5 Same as -O5. Internally generates -O3 -qipa=level=2
with automatic architecture and tuning option
generation.
proclocal=<name1>:<name2>: ...
Specify which functions are local.
If no filenames are specified, all invoked functions
are assumed to be defined within the current file.
The last explicit specification for a function takes
precedence.
procimported=<name1>:<name2>: ...
Specify which functions are imported. If no filenames
are specified, all invoked functions are assumed to be
defined outside the current file. The last explicit
specification for a function takes precedence.
procunknown=<name1>:<name2>: ...
Specify which functions are unknown to be local or
imported. If no filenames are specified, all functions
called are assumed to be unknown. This is the default
when no user options are specified. The last explicit
specification for a function takes precedence.
smp[=suboption[:suboption] [ ... ]]
[no]auto Enables or disables automatic parallelization.
[no]explicit Enables or disables explicit parallelization.
schedule=<sched_type>[=n]
Specifies what kind of scheduling algorithms
and chunking are used for loops to which no
other scheduling algorithm has been explicitly
assigned in the source code. Valid options for
<sched_type> are:
* dynamic[=n]
* guided[=n]
* static[=n]
* affinity[=n]
* runtime
For more information, see C for AIX online
documentation.
[no]nested_par Enables or disables parallelization of
nested parallel constructs.
[no]rec_locks Specifies whether recursive or regular locks
should be used to implement critical sections.
[no]omp Enables or disables strict OpenMP mode.
spill=<size>
Specify the size of the register allocation spill
area.
suppress=<msg_num>:<msg_num>...
Suppress compiler messages.
nosuppress Don't suppress compiler messages.
tabsize=<size>
Changes the length of tabs in your source file.
tbtable=<option>
Generate a traceback table for each function and
place it in the text segment at the end of the
function code.
The available options are:
none No traceback table is generated.
full A full traceback table is generated.
This is the default with -g specified.
small A traceback table is generated with no name or
parameter information.
This is the default when -g is NOT specified.
tune=<option>
Specifies the architecture system for which the
executable program is optimized.
The available options are:
403 Produce an object optimized for all the
PowerPC 403 processors.
Use -qfloat=emulate to emulate the floating-point
instructions omitted by the 403 processor.
601 Produce an object optimized for all the
PowerPC 601 processors.
602 Produce an object optimized for all the
PowerPC 602 processors.
603 Produce an object optimized for all the
PowerPC 603 processors.
604 Produce an object optimized for all the
PowerPC 604 processors.
p2sc Produce an object optimized for all the
p2sc processors.
pwr Produce an object optimized for the POWER
hardware platform.
pwr2 Produce an object optimized for the
POWER2 hardware platform.
pwr2s Produce an object optimized for the
POWER2 hardware platform, avoiding certain
quadruple-precision instructions that would
slow program performance.
pwrx Same as pwr2.
rs64a Produce an object optimized for the rs64a
processor.
rs64b Produce an object optimized for the rs64b
processor.
pwr3 Produce an object optimized for the POWER3
processor.
unroll[=n] Allow the optimizer to unroll loops.
usepcomp[=dirname]
Use precompiled include files. See C for AIX online
documentation for details.
xref=full Produce a cross-reference listing containing
all names, whether referenced or not; output goes
to .lst file.
For a detailed description of each option, please refer to the
C for AIX online documentation.
/usr/local/bin/less //usr/vac/exe/default_msg/vac.help
rm /tmp/xlcW0TXtx7a
rm /tmp/xlcW1TXtx7b
rm /tmp/xlcW2TXtx7c
configure:3106: $? = 249
configure:3126: checking for C compiler default output
configure:3129: cc conftest.c >&5
configure:3132: $? = 0
configure:3161: result: a.out
configure:3166: checking whether the C compiler works
configure:3172: ./a.out
configure:3175: $? = 0
configure:3190: result: yes
configure:3197: checking whether we are cross compiling
configure:3199: result: no
configure:3202: checking for executable suffix
configure:3204: cc -o conftest conftest.c >&5
configure:3207: $? = 0
configure:3229: result:
configure:3235: checking for object suffix
configure:3253: cc -c conftest.c >&5
configure:3256: $? = 0
configure:3275: result: o
configure:3279: checking whether we are using the GNU C compiler
configure:3300: cc -c conftest.c >&5
"configure", line 3291.14: 1506-275 (S) Unexpected text me encountered.
"configure", line 3291.8: 1506-045 (S) Undeclared identifier choke.
configure:3303: $? = 1
configure: failed program was:
#line 3285 "configure"
#include "confdefs.h"
int
main ()
{
#ifndef __GNUC__
choke me
#endif
;
return 0;
}
configure:3321: result: no
configure:3327: checking whether cc accepts -g
configure:3364: result: no
configure:3391: cc -c conftest.c >&5
"conftest.c", line 2.3: 1506-166 (S) Definition of function choke requires parentheses.
"conftest.c", line 2.9: 1506-046 (S) Syntax error.
configure:3394: $? = 1
configure: failed program was:
#ifndef __cplusplus
choke me
#endif
configure:3492: checking for POSIXized ISC
configure:3511: result: no
configure:3519: checking for cc option to accept ANSI C
configure:3576: cc -c conftest.c >&5
configure:3579: $? = 0
configure:3582: test -s conftest.o
configure:3585: $? = 0
configure:3602: result: none needed
configure:3617: checking how to run the C preprocessor
configure:3643: cc -E conftest.c
configure:3649: $? = 0
configure:3676: cc -E conftest.c
"configure", line 3673.10: 1506-296 (S) #include file <ac_nonexistent.h> not found.
configure:3682: $? = 1
configure: failed program was:
#line 3672 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3719: result: cc -E
configure:3734: cc -E conftest.c
configure:3740: $? = 0
configure:3767: cc -E conftest.c
"configure", line 3764.10: 1506-296 (S) #include file <ac_nonexistent.h> not found.
configure:3773: $? = 1
configure: failed program was:
#line 3763 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3818: checking for uname
configure:3833: found /usr/bin/uname
configure:3841: result: uname
configure:3850: checking for tr
configure:3865: found /usr/bin/tr
configure:3873: result: tr
configure:3882: checking for sed
configure:3897: found /usr/bin/sed
configure:3905: result: sed
configure:3914: checking for nroff
configure:3929: found /usr/bin/nroff
configure:3937: result: nroff
configure:3980: checking build system type
configure:3998: result: powerpc-ibm-aix4.3.3.0
configure:4005: checking host system type
configure:4019: result: powerpc-ibm-aix4.3.3.0
configure:5734: checking for getspnam
configure:5771: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
ld: 0711-317 ERROR: Undefined symbol: getspnam
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
configure:5774: $? = 8
configure: failed program was:
#line 5740 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getspnam (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char getspnam ();
char (*f) ();
int
main ()
{
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_getspnam) || defined (__stub___getspnam)
choke me
#else
f = getspnam;
#endif
;
return 0;
}
configure:5790: result: no
configure:5798: checking for getspnam in -lgen
configure:5825: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c -lgen >&5
ld: 0706-006 Cannot find or open library file: -l gen
ld:open(): No such file or directory
configure:5828: $? = 255
configure: failed program was:
#line 5806 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char getspnam ();
int
main ()
{
getspnam ();
;
return 0;
}
configure:5845: result: no
configure:5860: checking for getprpwnam
configure:5897: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
ld: 0711-317 ERROR: Undefined symbol: getprpwnam
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
configure:5900: $? = 8
configure: failed program was:
#line 5866 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getprpwnam (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char getprpwnam ();
char (*f) ();
int
main ()
{
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_getprpwnam) || defined (__stub___getprpwnam)
choke me
#else
f = getprpwnam;
#endif
;
return 0;
}
configure:5916: result: no
configure:6139: checking for an ANSI C-conforming const
configure:6203: cc -c -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
"configure", line 6154.17: 1506-359 (I) Automatic variable x contains a const member and is not initialized. It will be initialized to zero.
configure:6206: $? = 0
configure:6209: test -s conftest.o
configure:6212: $? = 0
configure:6222: result: yes
configure:6232: checking for working volatile
configure:6252: cc -c -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:6255: $? = 0
configure:6258: test -s conftest.o
configure:6261: $? = 0
configure:6271: result: yes
configure:6285: checking for bison
configure:6311: result: no
configure:6285: checking for byacc
configure:6311: result: no
configure:6319: checking for mv
configure:6322: result: /usr/bin/mv
configure:6354: checking for bourne shell
configure:6357: result: /bin/sh
configure:6418: checking for sendmail
configure:6421: result: /usr/sbin/sendmail
configure:6469: checking for vi
configure:6472: result: /usr/bin/vi
configure:6512: checking for ANSI C header files
configure:6526: cc -E -D_XOPEN_EXTENDED_SOURCE conftest.c
configure:6532: $? = 0
configure:6619: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:6622: $? = 0
configure:6624: ./conftest
configure:6627: $? = 0
configure:6640: result: yes
configure:6653: checking for dirent.h that defines DIR
configure:6674: cc -c -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:6677: $? = 0
configure:6680: test -s conftest.o
configure:6683: $? = 0
configure:6693: result: yes
configure:6706: checking for opendir in -ldir
configure:6733: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c -ldir >&5
ld: 0706-006 Cannot find or open library file: -l dir
ld:open(): No such file or directory
configure:6736: $? = 255
configure: failed program was:
#line 6714 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char opendir ();
int
main ()
{
opendir ();
;
return 0;
}
configure:6753: result: no
configure:6818: checking for malloc.h
configure:6828: cc -E -D_XOPEN_EXTENDED_SOURCE conftest.c
configure:6834: $? = 0
configure:6853: result: yes
configure:6818: checking for paths.h
configure:6828: cc -E -D_XOPEN_EXTENDED_SOURCE conftest.c
"/usr/include/paths.h", line 50.9: 1506-236 (W) Macro name _PATH_BSHELL has been redefined.
"/usr/include/paths.h", line 50.9: 1506-358 (I) "_PATH_BSHELL" is defined on line 20 of confdefs.h.
configure:6834: $? = 0
configure:6853: result: yes
configure:6818: checking for utime.h
configure:6828: cc -E -D_XOPEN_EXTENDED_SOURCE conftest.c
configure:6834: $? = 0
configure:6853: result: yes
configure:6818: checking for netgroup.h
configure:6828: cc -E -D_XOPEN_EXTENDED_SOURCE conftest.c
"configure", line 6825.10: 1506-296 (S) #include file <netgroup.h> not found.
configure:6834: $? = 1
configure: failed program was:
#line 6824 "configure"
#include "confdefs.h"
#include <netgroup.h>
configure:6853: result: no
configure:6818: checking for sys/sockio.h
configure:6828: cc -E -D_XOPEN_EXTENDED_SOURCE conftest.c
"configure", line 6825.10: 1506-296 (S) #include file <sys/sockio.h> not found.
configure:6834: $? = 1
configure: failed program was:
#line 6824 "configure"
#include "confdefs.h"
#include <sys/sockio.h>
configure:6853: result: no
configure:6818: checking for sys/bsdtypes.h
configure:6828: cc -E -D_XOPEN_EXTENDED_SOURCE conftest.c
"configure", line 6825.10: 1506-296 (S) #include file <sys/bsdtypes.h> not found.
configure:6834: $? = 1
configure: failed program was:
#line 6824 "configure"
#include "confdefs.h"
#include <sys/bsdtypes.h>
configure:6853: result: no
configure:6818: checking for sys/select.h
configure:6828: cc -E -D_XOPEN_EXTENDED_SOURCE conftest.c
configure:6834: $? = 0
configure:6853: result: yes
configure:6864: checking POSIX termios
configure:6885: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:6888: $? = 0
configure:6891: test -s conftest
configure:6894: $? = 0
configure:6904: result: yes
configure:7069: checking for sys/types.h
configure:7081: cc -c -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7084: $? = 0
configure:7087: test -s conftest.o
configure:7090: $? = 0
configure:7100: result: yes
configure:7069: checking for sys/stat.h
configure:7081: cc -c -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7084: $? = 0
configure:7087: test -s conftest.o
configure:7090: $? = 0
configure:7100: result: yes
configure:7069: checking for stdlib.h
configure:7081: cc -c -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7084: $? = 0
configure:7087: test -s conftest.o
configure:7090: $? = 0
configure:7100: result: yes
configure:7069: checking for string.h
configure:7081: cc -c -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7084: $? = 0
configure:7087: test -s conftest.o
configure:7090: $? = 0
configure:7100: result: yes
configure:7069: checking for memory.h
configure:7081: cc -c -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7084: $? = 0
configure:7087: test -s conftest.o
configure:7090: $? = 0
configure:7100: result: yes
configure:7069: checking for strings.h
configure:7081: cc -c -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7084: $? = 0
configure:7087: test -s conftest.o
configure:7090: $? = 0
configure:7100: result: yes
configure:7069: checking for inttypes.h
configure:7081: cc -c -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7084: $? = 0
configure:7087: test -s conftest.o
configure:7090: $? = 0
configure:7100: result: yes
configure:7069: checking for stdint.h
configure:7081: cc -c -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
"configure", line 7110.10: 1506-296 (S) #include file <stdint.h> not found.
configure:7084: $? = 1
configure: failed program was:
#line 7075 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
# include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
# include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
# include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <stdint.h>
configure:7100: result: no
configure:7069: checking for unistd.h
configure:7081: cc -c -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7084: $? = 0
configure:7087: test -s conftest.o
configure:7090: $? = 0
configure:7100: result: yes
configure:7110: checking for mode_t
configure:7131: cc -c -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7134: $? = 0
configure:7137: test -s conftest.o
configure:7140: $? = 0
configure:7150: result: yes
configure:7162: checking for uid_t in sys/types.h
configure:7182: result: yes
configure:7196: checking for sig_atomic_t
configure:7219: cc -c -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7222: $? = 0
configure:7225: test -s conftest.o
configure:7228: $? = 0
configure:7238: result: yes
configure:7254: checking for sigaction_t
configure:7277: cc -c -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
"configure", line 7267.19: 1506-275 (S) Unexpected text ')' encountered.
"configure", line 7267.6: 1506-045 (S) Undeclared identifier sigaction_t.
"configure", line 7268.3: 1506-277 (S) Syntax error: possible missing ')' or ','?
configure:7280: $? = 1
configure: failed program was:
#line 7260 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
int
main ()
{
if ((sigaction_t *) 0)
return 0;
if (sizeof (sigaction_t))
return 0;
;
return 0;
}
configure:7296: result: no
configure:7310: checking for size_t
configure:7336: result: yes
configure:7346: checking for ssize_t
configure:7372: result: yes
configure:7382: checking for dev_t
configure:7408: result: yes
configure:7418: checking for ino_t
configure:7444: result: yes
configure:7454: checking for full void implementation
configure:7470: cc -c -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7473: $? = 0
configure:7476: test -s conftest.o
configure:7479: $? = 0
configure:7486: result: yes
configure:7500: checking max length of uid_t
configure:7534: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7537: $? = 0
configure:7539: ./conftest
configure:7542: $? = 0
configure:7557: result: 10
configure:7564: checking for long long support
configure:7579: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7582: $? = 0
configure:7585: test -s conftest
configure:7588: $? = 0
configure:7606: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7609: $? = 0
configure:7611: ./conftest
configure:7614: $? = 1
configure: program exited with status 1
configure: failed program was:
#line 7601 "configure"
#include "confdefs.h"
main() {if (sizeof(long long) == sizeof(long)) exit(0); else exit(1);}
configure:7628: result: yes
configure:7637: checking for sa_len field in struct sockaddr
configure:7657: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7660: $? = 0
configure:7662: ./conftest
configure:7665: $? = 0
configure:7678: result: yes
configure:7690: checking return type of signal handlers
configure:7718: cc -c -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7721: $? = 0
configure:7724: test -s conftest.o
configure:7727: $? = 0
configure:7737: result: void
configure:7751: checking for strchr
configure:7788: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7791: $? = 0
configure:7794: test -s conftest
configure:7797: $? = 0
configure:7807: result: yes
configure:7751: checking for strrchr
configure:7788: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7791: $? = 0
configure:7794: test -s conftest
configure:7797: $? = 0
configure:7807: result: yes
configure:7751: checking for memchr
configure:7788: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7791: $? = 0
configure:7794: test -s conftest
configure:7797: $? = 0
configure:7807: result: yes
configure:7751: checking for memcpy
configure:7788: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7791: $? = 0
configure:7794: test -s conftest
configure:7797: $? = 0
configure:7807: result: yes
configure:7751: checking for memset
configure:7788: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7791: $? = 0
configure:7794: test -s conftest
configure:7797: $? = 0
configure:7807: result: yes
configure:7751: checking for sysconf
configure:7788: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7791: $? = 0
configure:7794: test -s conftest
configure:7797: $? = 0
configure:7807: result: yes
configure:7751: checking for tzset
configure:7788: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7791: $? = 0
configure:7794: test -s conftest
configure:7797: $? = 0
configure:7807: result: yes
configure:7751: checking for seteuid
configure:7788: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7791: $? = 0
configure:7794: test -s conftest
configure:7797: $? = 0
configure:7807: result: yes
configure:7751: checking for setegid
configure:7788: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7791: $? = 0
configure:7794: test -s conftest
configure:7797: $? = 0
configure:7807: result: yes
configure:7751: checking for strftime
configure:7788: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7791: $? = 0
configure:7794: test -s conftest
configure:7797: $? = 0
configure:7807: result: yes
configure:7751: checking for setrlimit
configure:7788: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7791: $? = 0
configure:7794: test -s conftest
configure:7797: $? = 0
configure:7807: result: yes
configure:7751: checking for initgroups
configure:7788: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7791: $? = 0
configure:7794: test -s conftest
configure:7797: $? = 0
configure:7807: result: yes
configure:7751: checking for fstat
configure:7788: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7791: $? = 0
configure:7794: test -s conftest
configure:7797: $? = 0
configure:7807: result: yes
configure:7822: checking for setreuid
configure:7859: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:7862: $? = 0
configure:7865: test -s conftest
configure:7868: $? = 0
configure:7878: result: yes
configure:7894: checking for getifaddrs
configure:7931: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
ld: 0711-317 ERROR: Undefined symbol: getifaddrs
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
configure:7934: $? = 8
configure: failed program was:
#line 7900 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getifaddrs (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char getifaddrs ();
char (*f) ();
int
main ()
{
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_getifaddrs) || defined (__stub___getifaddrs)
choke me
#else
f = getifaddrs;
#endif
;
return 0;
}
configure:7950: result: no
configure:8038: checking for getcwd
configure:8075: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:8078: $? = 0
configure:8081: test -s conftest
configure:8084: $? = 0
configure:8094: result: yes
configure:8111: checking for lockf
configure:8148: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:8151: $? = 0
configure:8154: test -s conftest
configure:8157: $? = 0
configure:8167: result: yes
configure:8180: checking for waitpid
configure:8217: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:8220: $? = 0
configure:8223: test -s conftest
configure:8226: $? = 0
configure:8236: result: yes
configure:8249: checking for innetgr
configure:8286: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:8289: $? = 0
configure:8292: test -s conftest
configure:8295: $? = 0
configure:8305: result: yes
configure:8315: checking for getdomainname
configure:8353: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:8356: $? = 0
configure:8359: test -s conftest
configure:8362: $? = 0
configure:8372: result: yes
configure:8388: checking for lsearch
configure:8425: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:8428: $? = 0
configure:8431: test -s conftest
configure:8434: $? = 0
configure:8444: result: yes
configure:8558: checking for utime
configure:8595: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:8598: $? = 0
configure:8601: test -s conftest
configure:8604: $? = 0
configure:8614: result: yes
configure:8620: checking for POSIX utime
configure:8643: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:8646: $? = 0
configure:8648: ./conftest
configure:8651: $? = 0
configure:8664: result: yes
configure:8679: checking for working fnmatch with FNM_CASEFOLD
configure:8696: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
"configure", line 8691.69: 1506-045 (S) Undeclared identifier FNM_CASEFOLD.
configure:8699: $? = 1
configure: program exited with status 1
configure: failed program was:
#line 8689 "configure"
#include "confdefs.h"
#include <fnmatch.h>
main() { exit(fnmatch("/*/bin/echo *", "/usr/bin/echo just a test", FNM_CASEFOLD)); }
configure:8717: result: no
configure:8729: checking for isblank
configure:8747: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:8750: $? = 0
configure:8753: test -s conftest
configure:8756: $? = 0
configure:8766: result: yes
configure:8780: checking for strerror
configure:8817: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:8820: $? = 0
configure:8823: test -s conftest
configure:8826: $? = 0
configure:8836: result: yes
configure:8780: checking for strcasecmp
configure:8817: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:8820: $? = 0
configure:8823: test -s conftest
configure:8826: $? = 0
configure:8836: result: yes
configure:8780: checking for sigaction
configure:8817: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:8820: $? = 0
configure:8823: test -s conftest
configure:8826: $? = 0
configure:8836: result: yes
configure:8851: checking for snprintf
configure:8888: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:8891: $? = 0
configure:8894: test -s conftest
configure:8897: $? = 0
configure:8907: result: yes
configure:8851: checking for vsnprintf
configure:8888: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:8891: $? = 0
configure:8894: test -s conftest
configure:8897: $? = 0
configure:8907: result: yes
configure:8851: checking for asprintf
configure:8888: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
ld: 0711-317 ERROR: Undefined symbol: asprintf
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
configure:8891: $? = 8
configure: failed program was:
#line 8857 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char asprintf (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char asprintf ();
char (*f) ();
int
main ()
{
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_asprintf) || defined (__stub___asprintf)
choke me
#else
f = asprintf;
#endif
;
return 0;
}
configure:8907: result: no
configure:8851: checking for vasprintf
configure:8888: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
ld: 0711-317 ERROR: Undefined symbol: vasprintf
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
configure:8891: $? = 8
configure: failed program was:
#line 8857 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vasprintf (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char vasprintf ();
char (*f) ();
int
main ()
{
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_vasprintf) || defined (__stub___vasprintf)
choke me
#else
f = vasprintf;
#endif
;
return 0;
}
configure:8907: result: no
configure:8923: checking for crypt
configure:8960: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:8963: $? = 0
configure:8966: test -s conftest
configure:8969: $? = 0
configure:8979: result: yes
configure:9148: checking for socket
configure:9185: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:9188: $? = 0
configure:9191: test -s conftest
configure:9194: $? = 0
configure:9204: result: yes
configure:9374: checking for inet_addr
configure:9411: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:9414: $? = 0
configure:9417: test -s conftest
configure:9420: $? = 0
configure:9430: result: yes
configure:9663: checking for syslog
configure:9700: cc -o conftest -D_XOPEN_EXTENDED_SOURCE conftest.c >&5
configure:9703: $? = 0
configure:9706: test -s conftest
configure:9709: $? = 0
configure:9719: result: yes
configure:10495: checking for log file location
configure:10512: result: /var/adm/sudo.log
configure:10530: checking for timestamp file location
configure:10549: result: /tmp/.odus
configure:10670: creating ./config.status
## ----------------------- ##
## Running config.status. ##
## ----------------------- ##
This file was extended by config.status (sudo 1.6.4) 2.52, executed with
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
> ./config.status
on dpbmdb1
config.status:11156: creating Makefile
config.status:11156: creating sudo.man
config.status:11156: creating visudo.man
config.status:11156: creating sudoers.man
config.status:11247: creating config.h
config.status:11247: creating pathnames.h
## ----------------- ##
## Cache variables. ##
## ----------------- ##
ac_cv_build=powerpc-ibm-aix4.3.3.0
ac_cv_build_alias=powerpc-ibm-aix4.3.3.0
ac_cv_c_compiler_gnu=no
ac_cv_c_const=yes
ac_cv_c_volatile=yes
ac_cv_env_CC_set=''
ac_cv_env_CC_value=''
ac_cv_env_CFLAGS_set=''
ac_cv_env_CFLAGS_value=''
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_build_alias_set=''
ac_cv_env_build_alias_value=''
ac_cv_env_host_alias_set=''
ac_cv_env_host_alias_value=''
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_func_asprintf=no
ac_cv_func_crypt=yes
ac_cv_func_fstat=yes
ac_cv_func_getcwd=yes
ac_cv_func_getdomainname=yes
ac_cv_func_getifaddrs=no
ac_cv_func_getprpwnam=no
ac_cv_func_getspnam=no
ac_cv_func_inet_addr=yes
ac_cv_func_initgroups=yes
ac_cv_func_innetgr=yes
ac_cv_func_lockf=yes
ac_cv_func_lsearch=yes
ac_cv_func_memchr=yes
ac_cv_func_memcpy=yes
ac_cv_func_memset=yes
ac_cv_func_setegid=yes
ac_cv_func_seteuid=yes
ac_cv_func_setreuid=yes
ac_cv_func_setrlimit=yes
ac_cv_func_sigaction=yes
ac_cv_func_snprintf=yes
ac_cv_func_socket=yes
ac_cv_func_strcasecmp=yes
ac_cv_func_strchr=yes
ac_cv_func_strerror=yes
ac_cv_func_strftime=yes
ac_cv_func_strrchr=yes
ac_cv_func_sysconf=yes
ac_cv_func_syslog=yes
ac_cv_func_tzset=yes
ac_cv_func_utime=yes
ac_cv_func_vasprintf=no
ac_cv_func_vsnprintf=yes
ac_cv_func_waitpid=yes
ac_cv_header_dirent_dirent_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_malloc_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_netgroup_h=no
ac_cv_header_paths_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=no
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_bsdtypes_h=no
ac_cv_header_sys_select_h=yes
ac_cv_header_sys_sockio_h=no
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_utime_h=yes
ac_cv_host=powerpc-ibm-aix4.3.3.0
ac_cv_host_alias=powerpc-ibm-aix4.3.3.0
ac_cv_lib_dir_opendir=no
ac_cv_lib_gen_getspnam=no
ac_cv_objext=o
ac_cv_prog_CPP='cc -E'
ac_cv_prog_EGREPPROG=egrep
ac_cv_prog_NROFFPROG=nroff
ac_cv_prog_SEDPROG=sed
ac_cv_prog_TRPROG=tr
ac_cv_prog_UNAMEPROG=uname
ac_cv_prog_ac_ct_CC=cc
ac_cv_prog_cc_cross=no
ac_cv_prog_cc_g=no
ac_cv_prog_cc_stdc=''
ac_cv_sys_posix_termios=yes
ac_cv_type_mode_t=yes
ac_cv_type_sig_atomic_t=yes
ac_cv_type_sigaction_t=no
ac_cv_type_signal=void
ac_cv_type_uid_t=yes
sudo_cv_func_fnmatch=no
sudo_cv_func_isblank=yes
sudo_cv_func_utime_posix=yes
sudo_cv_prev_host=powerpc-ibm-aix4.3.3.0
sudo_cv_sock_sa_len=yes
sudo_cv_type_dev_t=yes
sudo_cv_type_ino_t=yes
sudo_cv_type_size_t=yes
sudo_cv_type_ssize_t=yes
sudo_cv_uid_t_len=10
## ------------ ##
## confdefs.h. ##
## ------------ ##
#define LOGGING SLOG_SYSLOG
#define LOGFAC "local2"
#define PRI_SUCCESS "notice"
#define PRI_FAILURE "alert"
#define MAXLOGFILELEN 80
#define SEND_MAIL_WHEN_NO_USER 1
#define MAILTO "root"
#define MAILSUBJECT "*** SECURITY information for %h ***"
#define PASSPROMPT "Password:"
#define INCORRECT_PASSWORD "Sorry, try again."
#define SUDO_UMASK 0022
#define RUNAS_DEFAULT "root"
#define EDITOR _PATH_VI
#define TRIES_FOR_PASSWORD 3
#define TIMEOUT 5
#define PASSWORD_TIMEOUT 5
#define _ALL_SOURCE 1
#define _PATH_MV "/usr/bin/mv"
#define _PATH_BSHELL "/bin/sh"
#define _PATH_SUDO_SENDMAIL "/usr/sbin/sendmail"
#define _PATH_VI "/usr/bin/vi"
#define STDC_HEADERS 1
#define HAVE_DIRENT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_PATHS_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SIG_ATOMIC_T 1
#define VOID void
#define MAX_UID_T_LEN 10
#define HAVE_LONG_LONG 1
#define HAVE_SA_LEN 1
#define RETSIGTYPE void
#define HAVE_STRCHR 1
#define HAVE_STRRCHR 1
#define HAVE_MEMCHR 1
#define HAVE_MEMCPY 1
#define HAVE_MEMSET 1
#define HAVE_SYSCONF 1
#define HAVE_TZSET 1
#define HAVE_SETEUID 1
#define HAVE_SETEGID 1
#define HAVE_STRFTIME 1
#define HAVE_SETRLIMIT 1
#define HAVE_INITGROUPS 1
#define HAVE_FSTAT 1
#define HAVE_SETREUID 1
#define HAVE_GETCWD 1
#define HAVE_LOCKF 1
#define HAVE_WAITPID 1
#define HAVE_INNETGR 1
#define HAVE_GETDOMAINNAME 1
#define HAVE_LSEARCH 1
#define HAVE_UTIME 1
#define HAVE_UTIME_POSIX 1
#define HAVE_ISBLANK 1
#define HAVE_STRERROR 1
#define HAVE_STRCASECMP 1
#define HAVE_SIGACTION 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define _PATH_SUDO_LOGFILE "/var/adm/sudo.log"
#define _PATH_SUDO_TIMEDIR "/tmp/.odus"
configure: exit 0
More information about the sudo-users
mailing list