Contents

  • How to read syntax diagrams
  • Symbols
  • Syntax items
  • Syntax examples

  • Overview

  • XL C/C++
  • Compiler Modes
  • Related Tasks
  • Related References
  • Compiler Options
  • Related Tasks
  • Related References
  • Types of input files
  • Types of Output Files
  • Related Concepts
  • Related References
  • Compiler Message and Listing Information
  • Compiler Messages
  • Compiler Listings
  • Program Parallelization
  • OpenMP Directives
  • Related Concepts
  • Related Tasks
  • Related References
  • Shared and Private Variables in a Parallel Environment
  • Related Concepts
  • Related Tasks
  • Related References

  • Configuration and Use

  • Set Up the Compilation Environment
  • Set Environment Variables
  • Set Environment Variables in bash
  • Set Parallel Processing Run-time Options
  • Related Tasks
  • Related References
  • Set Other Environment Variables
  • Related Tasks
  • Invoke the Compiler
  • Related Concepts
  • Related Tasks
  • Related References
  • Invoke the Linkage Editor
  • Related Concepts
  • Related Tasks
  • Related References
  • Specify Compiler Options
  • Specify Compiler Options on the Command Line
  • -q Options
  • Flag Options
  • Related Concepts
  • Related Tasks
  • Related References
  • Specify Compiler Options in Your Program Source Files
  • Related Concepts
  • Related Tasks
  • Related References
  • Specify Compiler Options in a Configuration File
  • Tailor a Configuration File
  • Configuration File Attributes
  • Related Concepts
  • Related Tasks
  • Related References
  • Specify Compiler Options for Architecture-Specific, 32- or 64-bit Compilation
  • Related Concepts
  • Related Tasks
  • Related References
  • Resolving Conflicting Compiler Options
  • Related Concepts
  • Related Tasks
  • Related References
  • Specify Path Names for Include Files
  • Directory Search Sequence for Include Files Using Relative Path Names
  • Related References
  • Control Parallel Processing with Pragmas
  • OpenMP Directives
  • Related Concepts
  • Related References

  • Reference

  • Compiler Options
  • Compiler Command Line Options
  • Related Concepts
  • Related Tasks
  • Related References
  • Summary of Command Line Compiler Options
  • + (plus sign)
  • # (pound sign)
  • 32, 64
  • abi_version
  • aggrcopy
  • alias
  • align
  • alloca
  • altivec
  • arch
  • asm
  • attr
  • B
  • bigdata
  • bitfields
  • C
  • c
  • c_stdinc
  • cache
  • chars
  • check
  • cinc
  • compact
  • complexgccincl
  • cpluscmt
  • cpp_stdinc
  • crt
  • D
  • dataimported
  • datalocal
  • dbxextra
  • digraph
  • directstorage
  • dollar
  • E
  • e
  • eh
  • enablevmx
  • enum
  • F
  • flag
  • float
  • flttrap
  • format
  • fullpath
  • funcsect
  • g
  • gcc_c_stdinc
  • gcc_cpp_stdinc
  • genproto
  • halt
  • haltonmsg
  • hot
  • I
  • idirfirst
  • ignerrno
  • ignprag
  • info
  • initauto
  • inlglue
  • inline
  • ipa
  • isolated_call
  • keepparm
  • keyword
  • L
  • l
  • langlvl
  • lib
  • libansi
  • linedebug
  • list
  • listopt
  • longlit
  • longlong
  • M
  • ma
  • makedep
  • maxerr
  • maxmem
  • mbcs, dbcs
  • minimaltoc
  • mkshrobj
  • O, optimize
  • o
  • P
  • p
  • path
  • pdf1, pdf2
  • pg
  • phsinfo
  • pic
  • prefetch
  • print
  • priority
  • proclocal, procimported, procunknown
  • proto
  • Q
  • R
  • r
  • report
  • ro
  • roconst
  • rtti
  • S
  • s
  • saveopt
  • showinc
  • showpdf
  • smallstack
  • smp
  • source
  • sourcetype
  • spill
  • srcmsg
  • staticinline
  • staticlink
  • statsym
  • stdinc
  • strict
  • strict_induction
  • suppress
  • symtab
  • syntaxonly
  • t
  • tabsize
  • tbtable
  • tempinc
  • templaterecompile
  • templateregistry
  • tempmax
  • threaded
  • tls
  • tmplparse
  • tocdata
  • trigraph
  • tune
  • U
  • unroll
  • unwind
  • upconv
  • utf
  • V
  • v
  • vftable
  • vrsave
  • W
  • w
  • warn64
  • xcall
  • xref
  • y
  • General Purpose Pragmas
  • Related Tasks
  • #pragma align
  • #pragma alloca
  • #pragma altivec_vrsave
  • #pragma block_loop
  • #pragma chars
  • #pragma comment
  • #pragma complexgcc
  • #pragma define
  • #pragma disjoint
  • #pragma do_not_instantiate
  • #pragma enum
  • #pragma execution_frequency
  • #pragma hashome
  • #pragma ibm snapshot
  • #pragma implementation
  • #pragma info
  • #pragma instantiate
  • #pragma ishome
  • #pragma isolated_call
  • #pragma langlvl
  • #pragma leaves
  • #pragma loop_id
  • #pragma map
  • #pragma mc_func
  • #pragma nosimd
  • #pragma novector
  • #pragma options
  • #pragma option_override
  • #pragma pack
  • #pragma priority
  • #pragma reachable
  • #pragma reg_killed_by
  • #pragma report
  • #pragma stream_unroll
  • #pragma strings
  • #pragma unroll
  • #pragma unrollandfuse
  • #pragma weak
  • Pragmas to Control Parallel Processing
  • Related Concepts
  • Related Tasks
  • Related References
  • #pragma omp atomic
  • #pragma omp parallel
  • #pragma omp for
  • #pragma omp ordered
  • #pragma omp parallel for
  • #pragma omp section, #pragma omp sections
  • #pragma omp parallel sections
  • #pragma omp single
  • #pragma omp master
  • #pragma omp critical
  • #pragma omp barrier
  • #pragma omp flush
  • #pragma omp threadprivate
  • Acceptable compiler mode and processor architecture combinations
  • Compiler Messages
  • Message Severity Levels and Compiler Response
  • Related Concepts
  • Related References
  • Compiler Return Codes
  • Related Concepts
  • Related References
  • Compiler Message Format
  • Related Concepts
  • Related References
  • Parallel Processing Support
  • Run-time Options for Parallel Processing
  • Scheduling Algorithm Options
  • Parallel Environment Options
  • Performance Tuning Options
  • Dynamic Profiling Options
  • OpenMP Run-time Options for Parallel Processing
  • Scheduling Algorithm Environment Variable
  • Parallel Environment Environment Variables
  • Dynamic Profiling Environment Variable
  • Built-in Functions Used for Parallel Processing
  • Related Concepts
  • Related Tasks
  • Related References

  • Appendixes

  • Appendix A. Predefined Macros
  • Macros indicating the XL compilers
  • Macros related to the Linux platform
  • Appendix B. Built-in Functions

  • Appendix C. Libraries in XL C/C++
  • Redistributable libraries
  • Order of linking
  • Appendix D. Problem Solving
  • Message Catalog Errors
  • Related Tasks
  • Correcting Paging Space Errors During Compilation
  • Appendix E. ASCII Character Set
  • IBM Copyright 2003