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/technology/software/products/berkeley-db/htdocs/oslicense.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.

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

4/25/2008


Table of Contents

Preface
Conventions Used in this Book
Audience
For More Information
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
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