Porting Berkeley DB

Legal Notice

This documentation is distributed under an open source license. You may review the terms of this license at: http://www.oracle.com/technetwork/database/berkeleydb/downloads/oslicense-093458.html

Oracle, Berkeley DB, and Sleepycat are trademarks or registered trademarks of Oracle. All rights to these marks are reserved. No third-party use is permitted without the express prior written consent of Oracle.

Other names may be trademarks of their respective owners.

To obtain a copy of this document's original source code, please submit a request to the Oracle Technology Network forum at: http://forums.oracle.com/forums/forum.jspa?forumID=271

9/9/2013


Table of Contents

Preface
Conventions Used in this Book
Audience
For More Information
Contact Us
1. Introduction to Porting Berkeley DB
Types of Berkeley DB ports
When Oracle Has Agreed to Support Berkeley DB on the New Platform
When Oracle has Not Agreed to Support Berkeley DB on the New Platform
Berkeley DB Porting Process
2. Creating a New Berkeley DB Binary
Creating a Base Build of Berkeley DB
Determining the Scope of the Modifications
Do Changes Need to be Made to the Operating System Functionality?
Are Some Standard Functions Missing on the Target Platform?
How Will the Port Handle Shared Memory?
What Type of Mutexes Will the Port Use?
Do Any Other Changes Need to be Made?
Building on the Target Platform
Source Code Layout
3. Testing and Certifying the Port
Types of Tests for Berkeley DB
Modifying the Tests
Running the Tests
Reviewing the Results of the Tests
Integrating Changes into the Berkeley DB Source Code
Certifying a Port of Berkeley DB