Script started on Wed 02 Oct 2002 01:18:06 PM PDT rohan% cc -flags -# Verbose mode -### Show compiler commands built by driver, no compilation -A Preprocessor predicate assertion -B<[static|dynamic]> Specify dynamic or static binding -C Prevent preprocessor from removing comments -c Compile only - produce .o files, suppress linking -D Associate name with token as if by #define -d[y|n] dynamic [-dy] or static [-dn] option to linker -dalign Expands to -xmemalign=8s -E Compile source through preprocessor only, output to stdout -erroff= Suppress warnings specified by tags t(%none, %all, ) -errtags= Display messages with tags a(no, yes) -errwarn= Treats warnings specified by tags t(%none, %all, ) as errors -fast Optimize using a selection of options -fd Report old-style function definitions and declarations -flags Show this summary of compiler options -fnonstd Initialize floating-point hardware to non-standard preferences -fns[=] Select non-standard floating point mode -fround= Select the IEEE rounding mode in effect at startup -fsimple[=] Select floating-point optimization preferences -fsingle Use single-precision arithmetic (-Xt and -Xs modes only) -ftrap= Select floating-point trapping mode in effect at startup -G Build a dynamic shared library -g Compile for debugging -H Print path name of each file included during compilation -h Assign to generated dynamic shared library -I Add to preprocessor #include file search path -i Passed to linker to ignore any LD_LIBRARY_PATH setting -keeptmp Keep temporary files created during compilation -KPIC Compile position independent code with 32-bit addresses -Kpic Compile position independent code -L Pass to linker to add to the library search path -l Link with library lib.a or lib.so -mc Remove duplicate strings from .comment section of output files -misalign Expands to -xmemalign=1i -misalign2 Expands to -xmemalign=2i -mr Remove all strings from .comment section of output files -mr,"string" Remove all strings and append "string" to .comment section -mt Specify options needed when compiling multi-threaded code -native Optimize for the host system (-xtarget=native) -noqueue Disable queuing of compiler license requests -O Use default optimization level (-xO2) -o Set name of output file to -P Compile source through preprocessor only, output to .i file -p Compile for profiling with prof -Q[y|n] Emit/don't emit identification info to output file -qp Compile for profiling with prof -R Build runtime search path list into executable -S Compile and only generate assembly code (.s) -s Strip symbol table from the executable file -U Delete initial definition of preprocessor symbol -V Report version number of each compilation phase -v Do stricter semantic checking -W, Pass to specified component (a,c,l,m,p,0,2,o) -w Suppress compiler warning messages -Xa Compile assuming ANSI C conformance, allow K & R extensions (default mode) -Xc Compile assuming strict ANSI C conformance -Xs Compile assuming (pre-ANSI) K & R C style code -Xt Compile assuming K & R conformance, allow ANSI C -xa Collect data for tcov basic block profiling (old format) -xalias_level= Enable optimizations based on the specified alias_level -xarch= Specify target architecture instruction set -xautopar Enable automatic loop parallelization (requires WorkShop license) -xbuiltin[=] When profitable inline, or substitute intrinisic functions for system functions, b={%all,%none} -xc99[=] Enable ISO C99 features, ={%all,%none} -xcache= Define cache properties for use by optimizer -xCC Accept C++ style comments -xcg89 Expands to -xarch=v7 -xchip=old -xcache=64/32/1 -xcg92 Expands to -xarch=v8 -xchip=super -xcache=16/32/4:1024/32/1 -xchar_byte_order= Specify multi-char byte order (default, high, low) -xchip= Specify the target processor for use by the optimizer -xcode= Generate different code for forming addresses -xcrossfile[=] Enable optimization and inlining across source files, n={0|1} -xcsi Allow C source code using non-ISO C compliant locales -xdepend Analyze loops for data dependencies -xe Perform only syntax/semantic checking, no code generation -xexplicitpar Parallelize loops explicitly marked with directives (requires WorkShop license) -xF Compile for later mapfile reordering -xhelp= Display on-line help information f(flags, readme) -xildoff Cancel -xildon -xildon Enable use of the incremental linker, ild -xinline=[,...,] Attempt inlining of specified user routines, ={%auto,func,no%func} -xipo[=] Enable optimization and inlining across source files, n={0|1|2} -xlibmieee Force IEEE 754 return values for math routines in exceptional cases -xlibmil Inline selected libm math routines for optimization -xlic_lib=sunperf Link in the Sun supplied performance libraries -xlicinfo Show license server information -xloopinfo Show loops that parallelized (requires WorkShop license) -xM Generate makefile dependencies -xM1 Generate makefile dependencies, but exclude /usr/include -xmaxopt=[off,1,2,3,4,5] maximum optimization level allowed on #pragma opt -xmemalign[=] Controls memory alignment, ={1|2|4|8|16}, b={i|s}. -xMerge Merge data segment into text segment -xnolib Do not link with default system libraries -xnolibmil Cancel -xlibmil on command line -xO Generate optimized code (n={1|2|3|4|5}) -xopenmp Enable OpenMP language extension -xP Print prototypes for function definitions -xparallel Perform parallel compilation -xpg Compile for profiling with gprof -xprefetch[=

] Specify instruction prefetch p (auto,no%auto,explicit,no%explicit,latx:.) -xprofile=

Collect data for a profile or use a profile to optimize

={{collect,use}[:],tcov} -xreduction Recognize reduction operations in parallelized loops -xregs= Specify the usage of optional registers -xrestrict[=] Treat pointer valued function parameters as restricted f(%none,%all,) -xs Allow debugging without object (.o) files -xsafe=mem Assume that no memory based traps will occur -xsb Compile for use with the WorkShop source browser -xsbfast Generate only WorkShop source browser information, no compilation -xsfpconst Represent unsuffixed floating point constants as single precision -xspace Do not do optimizations that increase code size -xstrconst Place string literals into read-only data segment -xtarget= Specify target system for optimization -xtemp=

Set directory for temporary files to -xtime Report the execution time for each compilation phase -xtransition Emit warnings for differences between K&R C and ANSI C -xtrigraphs[=] Enable|disable trigraph translation -xunroll=n Enable unrolling loops n times where possible -xvector<=yes|no> Automatic Generation of calls to vector library functions -xvpara Verbose parallelization warnings (requires WorkShop license) -Y, Specify for location of component (a,c,l,m,p,0,2,o) -YA, Change default directory searched for components -YI, Change default directory searched for include files -YP, Change default directory for finding libraries files -YS, Change default directory for startup object files -Zll Create lock_lint database files (.ll) -Zlp Compile for looptool profiling For additional product information or for the name of a Sun software reseller, please call 1-800-786-7638, or (+1) 512-434-1511 (outside the US), or fax your request to (+1) 512-218-3866. For technical support, please contact your Sun software reseller for the name of an Authorized Service Provider. For more information, please browse http://www.sun.com/workshop/ rohan% exit rohan%