Porting Central
Skip to main content

Porting Central


SystemsSystem iSystem pSystem xSystem z
Introduction  |   Linux  |   Other operating environments

Porting

Tailoring Porting Infrastructure General References Java Debug/Performance

Porting


While many applications are initially written for the IA-32 environment, porting from another UNIX platform to an xSeries server running Linux or Windows is a most common type of porting. As well, the commercialization of the IA-64 platform porting applications currently running on a 32-bit platform to a 64-bit platform is become critical for continued success. Here we provide information for porting from other platforms, including some specific material geared for migrating applications from AIX. We also address the migration of Java applications to the xSeries platform. As Java is often more portable across platforms, many of the references below focus on porting C and C++ applications which may encounter more tricky issues. For special focus on ports to Linux on xSeries, see the xSeries Linux part of this site.

Our porting team has gathered together this set of resources to help you with porting from other platforms such as Solaris, HP-UX, AIX, and Compaq Tru64. We also include some resources specifically comparing AIX 5L and Windows 2000. The UNIX-oriented resources are also generally applicable to migration of C/C++ or Java applications on the AIX platform to xSeries servers. Many other reference books, other than those listed here, are available on the IBM Redbooks Web site. Also, please see the IBM Redbooks Portal for xSeries Web site.

We have divided up the resources into the following categories:

General Porting Guides

Code samples, porting tools, and documentation

Java solutions

Java solutions promise cross platform portability. Java is especially dominant in e-business and WebSphere application ports. We provide the following resources for Java applications, both general to all IBM eServer platforms and also specific to the pSeries platform.

Debugging and Performance Tuning

There is also an IBM tool which is called Capacity Manager (part of IBM Director) that helps to pinpoint performance issues.

The following third-party tools are available for debugging:

Third-party debugging tools

  • Insure++ from ParaSoft.
    Insure++ is a comprehensive debugging and code analysis tool. It consists of a code instrumentation front end that you need to compile your code with. This tool analyzes your code against a known set of memory (and other) problems and instruments the code such that messages for any detected errors show up at runtime. The tool supports both C and C++.
    The types of error/warning messages that show up at runtime can be customized. The messages can be displayed either in a graphical tool(Insra) or to standard error.
    It is also possible to compile the code with IBM's VisualAge C/C++ compiler and then link with Insure++. An application built in this fashion connects to a graphical tool and memory usage is shown graphically in time. Memory that is suspected to be leaked is shown in one color, while allocated and free memory are shown in other colors. To help locate the source of the leak, the code has to be compiled and linked with Insure++.
    tca is a code coverage analyzer tool that is part of Insure++. When an application that has been compiled and linked with insure is executed, it creates log files that can then be analyzed by tca for code coverage. This is useful tool during testing when you need to create various metrics for code coverage.
  • GreatCircle from Geodesic.
    Great Circle® is an advanced debugging environment that diagnoses and resolves memory problems. It finds errors such as excessive application memory use and errors that could cause a crash of the application. It is a fast diagnostic tool that can also profile an application's memory use in real time and even detect third-party errors.

System Administration

 

 
  Topics
Overview
Porting
Infrastructure
Tailoring
Highlights
IBM WebSphere Developer Domain
IBM Systems and Linux