| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
So in the Project Builder project that builds OpenAL.framework, you need to specify the default address OpenAL.framework should be loaded at by specifying a -seg1addr value in the "Other Mach-O Linker Flags" portion of the Linker Settings panel for your framework's target. There are some restrictions on the addresses you can use with -seg1addr; check the archives at <http://cocoa.mamasam.com/> for more information. (At least, I think that's where I learned about this stuff. There might also be information in man pages or in Project Builder's documentation. Somewhere.)
All libraries must be built in dependent order and built prebound. That is, libraries must be built before the libraries (and executables) that link against them are built. To build prebound, either pass the -prebind flag to ld(1), or define the LD_PREBIND environment variable.
Prebinding frameworks is difficult and not officially sanctioned. For more information, see Mac OS X Prebinding Notes
This address is halfway important, because it can't overlap the default address of any other frameworks or executables in your project if you want the linker to generate prebinding information.
-prebind_allow_overlap
Have the static linker, ld(1), prebind the output
even if the addresses of the dynamic libraries it
uses overlap. The resulting output can then have
redo_prebinding(1) run on it to fix up the prebind-
ing after the overlapping dynamic libraries have
been rebuilt. This option can also be specified by
setting the environment variable LD_PRE-
BIND_ALLOW_OVERLAP.
| References: | |
| >Re: OpenAL & prebinding warnings (From: Chris Hanson <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.