Developing and Porting C and C++ Applications on AIX
An IBM Redbooks publication
Note: This is publication is now archived. For reference only.
Published 16 June 2003, updated 26 March 2009
IBM Form #: SG24-5674-01
Other Language Versions
Note: Other language versions may not be as current as the English edition.
Rate and comment
Authors: Keigo Matsubara, Edison Kwok, Inge Rodriguez, Murali Paramasivam
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 publication also read
Follow IBM Redbooks
Follow IBM Redbooks