Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Determining a segment address for prebinding



Hi

I have posted this request previously on the unix-porting list..without 
any response:-( So, I'm hoping that someone on this list may be of help 
:-)

I'm trying to build a prebound dynamic library. The build goes without 
a problem except that at the end I always get an ld warning that my 
library is not prebound.

The LD_FLAGS in my Makefile is shown below. I am in the right address 
range of 0x00000000 to 0x3FFFFFFF; yet I always get the "library is not 
prebound" diagnostic at the end of my build. This after having tried a 
few addresses.

LDFLAGS = -prebind -seg1addr 0x90000000 -twolevel_namespace 
-L/usr/local/lib -L/sw/lib -L/usr/lib -framework CoreAudio

To be more precise in my allocation for the first segment address, I 
would need to find out  which addresses are available for allocation, I 
presume. How does one go about obtaining the right address to assign?

Thanks in advance.
Ebrahim Mayat
_______________________________________________
scitech mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/scitech
Do not post admin requests to the list. They will be ignored.




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.