The software described in this documentation is either in Extended Support or Sustaining Support. See https://www.oracle.com/us/support/library/enterprise-linux-support-policies-069172.pdf for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.
Oracle® Linux 6: Porting Guide describes how to resolve common issues that arise when migrating applications to Oracle Linux. It describes potential similarities and differences in architecture, system calls, tools, utilities, development environments, and operating system features. Wherever possible, solutions and workarounds are suggested for addressing porting issues that commonly arise.
Using the information presented in this guide, developers should be able to tackle projects ranging from the smallest data conversion to the largest legacy native-code migration projects.
This guide also includes best practices to help developers get the most out of their applications when running them on Oracle Linux. Specific guidance is offered to help avoid some of the pitfalls that are common to migration projects.
In the interest of larger developer groups with varied development and functional requirements, this guide avoids going too deep into the specifics of a given problem. Instead, pointers are provided to additional relevant information for further reading. Oracle strongly advises both novice users and those familiar with the Oracle Linux operating system to use manual pages to obtain accurate and detailed information about Oracle Linux and its features.
This guide is primarily aimed at experienced application developers and device driver writers. It is expected that the reader should have an in-depth knowledge of programming in a language such as C or C++ and the programming environments that are typically used for developing modern software applications. Device driver writers are expected to have an in-depth knowledge of the internals of the operating systems for which they want to develop drivers.
The document is organized as follows:
Chapter 1, Introduction provides an overview of porting software to Oracle Linux.
Chapter 2, The Porting Process provides an overview of the steps that are typically required when porting software to Oracle Linux.
Chapter 3, Operating System Considerations discusses the various aspects that must be considered during migration between platform architectures.
Chapter 4, Application Development Environment provides more information about the GNU Compiler Collection (GCC) and Oracle Solaris Studio 12.x development environments.
Chapter 5, Threads and Multiprocessing provides information about factors that you should take into consideration when porting threaded applications in a multiprocessor environment.
Chapter 6, Migrating Device Drivers provides an overview of how Oracle Linux device drivers are usually implemented and contrasts this approach with that usually encountered on UNIX-like operating systems.
Chapter 7, Security discusses some aspects of ensuring system security on Oracle Linux.
Chapter 8, Runtime Environment discusses some differences that you might encounter in the runtime environment on Oracle Linux.
Chapter 9, Pluggable Authentication Modules describes differences in implementation and points that you should consider when migrating an application that uses Pluggable Authentication Modules (PAM) to Oracle Linux.
Chapter 10, Packaging and Distributing Applications provides an overview of how to administer and create RPMs on Oracle Linux. It also provides information about the Oracle Enterprise Manager and Spacewalk IT management products.
The following text conventions are used in this document:
Convention | Meaning |
---|---|
boldface | Boldface type indicates graphical user interface elements associated with an action, or terms defined in text or the glossary. |
italic | Italic type indicates book titles, emphasis, or placeholder variables for which you supply particular values. |
| Monospace type indicates commands within a paragraph, URLs, code in examples, text that appears on the screen, or text that you enter. |
For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at https://www.oracle.com/corporate/accessibility/.
Oracle customers that have purchased support have access to electronic support through My Oracle Support. For information, visit https://www.oracle.com/corporate/accessibility/learning-support.html#support-tab.
Oracle is fully committed to diversity and inclusion. Oracle respects and values having a diverse workforce that increases thought leadership and innovation. As part of our initiative to build a more inclusive culture that positively impacts our employees, customers, and partners, we are working to remove insensitive terms from our products and documentation. We are also mindful of the necessity to maintain compatibility with our customers' existing technologies and the need to ensure continuity of service as Oracle's offerings and industry standards evolve. Because of these technical constraints, our effort to remove insensitive terms is ongoing and will take time and external cooperation.