Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Mac OS Runtime Architectures /


Chapter 3 - Programming for the CFM-Based Runtime Architecture

This chapter contains practical information about programming for the CFM-based runtime architecture, including guidelines for building shared libraries. Note that the topics in this chapter are independent of one another and do not need to be read in any particular order.

This chapter assumes familarity with the terms and concepts presented in Chapter 1, "CFM-Based Runtime Architecture," and Chapter 2, "Indirect Addressing in the CFM-Based Architecture."


Chapter Contents
Calling the Code Fragment Manager
Preparing Code Fragments
Releasing Fragments
Getting Information About Exported Symbols
Using Shadow Libraries
Requirements for Executing CFM-68K Runtime Programs
Using Stub Libraries at Build Time
Weak Libraries and Symbols
Multiple Names for the Same Fragment
Import Library Techniques
Use No Version Numbers and No Weak Symbols
Declare Weak Symbols in Client
Use PEF Version Numbering
Change Names for Newer Import Libraries
Create an Alias Library Name Using Multiple 'cfrg' 0 Entries
Put New Symbols in New Logical Libraries
Use Reexport Libraries
Using the Main Symbol as a Data Structure
Systemwide Sharing and Data-Only Fragments
Multiple Fragments With the Same Name

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 MARCH 1997