Skip to main content

Developing and Porting C and C++ Applications on AIX

An IBM Redbooks publication

Note: This is publication is now archived. For reference only.


Published on 16 June 2003, updated 27 March 2009

  1. .PDF (4.7 MB)

Share this page:   

ISBN-10: 073842935X
ISBN-13: 9780738429359
IBM Form #: SG24-5674-01

Authors: Keigo Matsubara and Edison Kwok Inge Rodriguez Murali Paramasivam

    menu icon


    This IBM Redbooks publication will help experienced UNIX application developers who are new to the AIX operating system. The book explains the many concepts in detail, including the following:

    - Enhancements and new features provided by the latest C and C++ compilers for AIX

    - Compiling and linking tasks required to effectively use and manage shared libraries and run-time linking

    - Use of process heap and shared memory in the 32- and 64-bit user process models

    - A new programming paradigm in a partitioned environment where resources can be dynamically changed

    - Parallel programming using POSIX threads and OpenMP

    The following chapters are also useful for system administrators who are responsible for the software problem determination and application software release level management on AIX systems:

    Chapter 3, "Understanding user process models"

    Chapter 7, "Debugging your applications"

    Chapter 12, "Packaging your applications"

    Table of Contents

    Chapter 1. C and C++ compilers

    Chapter 2. Compiling and linking

    Chapter 3. Understanding user process models

    Chapter 4. Managing the memory heap

    Chapter 5. Creating DLPAR-aware applications

    Chapter 6. Programming hints and tips

    Chapter 7. Debugging your applications

    Chapter 8. Introduction to POSIX threads

    Chapter 9. Program parallelization using OpenMP

    Chapter 10. Dealing with C++ templates

    Chapter 11. Creating shared objects from C++ source codes

    Chapter 12. Packaging your applications

    Appendix A. Previous versions of C and C++ compiler products

    Appendix B. Useful information for linking and loading on AIX

    Appendix C. Subroutine references for shmat and mmap services

    Appendix D. Subroutine references for POSIX threads

    Appendix E. Supported IBM SMP directives

    Appendix F. Sample compiler listing


    Others who read this also read