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 / Import Library Techniques


Create an Alias Library Name Using Multiple 'cfrg' 0 Entries

A developer can create aliases for library names by including additional 'cfrg'0 entries that point to the same fragment (see "Multiple Names for the Same Fragment" (page 3-13) for more information). This aliasing can be useful when combining several libraries into one fragment. For example, say you have libraries cowLib and dogLib that have been linked to a number of clients. You then decide to merge cowLib and dogLib into a new library dogCowLib. To ensure that clients originally built with cowLib or dogLib can still access those routines in dogCowLib, you must create separate 'cfrg'0 entries for cowLib and dogLib. These entries list the old fragment names but point to the container for dogCowLib.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 MARCH 1997