Mailing Lists: Apple Mailing Lists

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

Order of -framework arguments while linking



Hi,

The manpage for ld(1) says:

-framework name[,suffix]
Specifies a framework to link against. Frameworks are dynamic
shared libraries, but they are stored in different locations,
and therefore must be searched for differently. When this option
is specified, ld searches for framework `name.framework/name'
first in any directories specified with the -F option, then in
the standard framework directories /Library/ Frameworks, /Net-
work/Library/Frameworks, and /System/Library/ Frameworks. The
placement of the -framework option is significant, as it deter-
mines when and how the framework is searched. If the optional
suffix is specified the framework is first searched for the name
with the suffix and then without.


Specificaly it mentions that the order of -frameworks is significant, but doesn't eloborate on how that is signficant. Does this just mean that frameworks are searched for symbols in the order they are specified using -framework arguments, or does it mean something else?

Ronald
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


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.