AIX 5L Porting Guide

An IBM Redbooks publication

Published 25 July 2001

cover image

ISBN-10: 0738422053
ISBN-13: 9780738422053
IBM Form #: SG24-6034-00
(640 pages)

View online


Other Language Versions

Note: Other language versions may not be as current as the English edition.

More options


Rating

Authors: Richard Cutler, Allan Cheng, Jacob Hsu, Jesper F Ljungberg, Peter Nutt, Michael Perzl

Abstract

This IBM Redbooks publication details the types of problems most likely to be encountered when porting applications from other UNIX-based platforms to the AIX 5L Operating System.

When porting an application to a new operating system there are things you have to know and questions you have to ask, such as:

- What programming models are available?
- How are threads implemented?
- What link options do I need?
- Why do my makefiles not work any more?

We have tried to condense all of these questions (and answers) into one document, and this book is the result. It has been designed to provide guidance and reference material for system and application programmers who have been given the task of porting applications written in C and/or C++ to the AIX 5L operating system. This book assumes the reader is familiar with the C and/or C++ programming languages and UNIX operating systems.

Table of contents


Chapter 1. Introduction
Chapter 2. Endianness - byte ordering
Chapter 3. Issues regarding 32-bit and 64-bit
Chapter 4. Setting up the development environment
Chapter 5. Porting
Chapter 6. Makefiles and the make command
Chapter 7. System functions
Chapter 8. The compilers
Chapter 9. AIX shared objects and libraries
Chapter 10. POSIX threads
Chapter 11. C++ Templates
Chapter 12. Test and debug

Follow IBM Redbooks

Follow IBM Redbooks