Contents

About this document

  • Highlighting conventions
  • How to read the syntax diagrams
  • XL C/C++ overview

  • Command-line C and C++ compiler
  • Libraries
  • Utilities and commands
  • National language support
  • Documentation and online help
  • Accessing additional information
  • What's new in version 7

  • Performance and optimization
  • Machine architecture and hardware
  • Built-in functions supported for POWER5 processors
  • New XL C/C++ pragmas
  • New optimization utilities
  • Support for MASS vector libraries
  • Conformance to industry standards
  • Ease of use
  • New XL C/C++ options
  • Customizing the compilation environment

  • Environment variables
  • Setting up the environment for the invocation commands
  • Ensure the correct NLSPATH for the message catalogs
  • Include files
  • Configuration files
  • Command-line options
  • Controlling the compilation process

  • Invoking the compiler
  • Object model
  • Types of input and output files
  • Default behavior
  • Getting started with compiler options

  • Compiler messages
  • Return codes
  • Compiler message format
  • Platform-specific options
  • Reusing GNU C and C++ compiler options with gxlc and gxlc++
  • gxlc and gxlc++ syntax
  • GNU C and C++ to XL C/C++ option mapping
  • Configuring the option mapping
  • Options summary: C compiler
  • Basic translation
  • Specialized diagnostics
  • Special handling and control
  • Linking and library-related options
  • Options summary: C++ compiler
  • Getting started with optimization

  • Selected compiler options for optimization
  • Porting considerations

  • Portability issues intrinsic to the language
  • Diagnostics for compile-time errors
  • 32-bit and 64-bit application development
  • Diagnostics for run-time errors
  • Shared memory parallelization
  • OpenMP directives
  • Features related to GNU C and C++ portability
  • Function attributes
  • Variable attributes
  • Type attributes
  • GNU C and C++ assertions
  • Other GNU C and C++ portability issues
  • Appendix A. Language support

  • Compatibility with ISO/IEC International Standards
  • ISO/IEC 14882:2003(E) International Standard compatibility
  • ISO/IEC 9899:1990 International Standard compatibility
  • ISO/IEC 9899:1999 International Standard support
  • Enhanced language level support
  • Appendix B. OpenMP compliance and support

  • OpenMP directives
  • OpenMP data scope attribute clauses
  • OpenMP library functions
  • OpenMP environment variables
  • OpenMP implementation-defined behavior
  • Notices

  • Programming interface information
  • Trademarks and service marks
  • Industry standards
  • IBM Copyright 2003