This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] RFC frameworks implementation


The attached patches implement frameworks familiar to those who use darwin,
though for elf targets through a substitution sequence ${FRAMEWORK} as
an extension to elf..


though I suppose much of this code might be useful if one wanted
to implement frameworks for darwins Mach-O binary format in binutils

for those unfamiliar with frameworks, they are a way to create an autonomous package
as a directory with the extension .framework containing a dynamic library,
and all the header files, and sometimes other resources.
they are linked relative to the search path.
so you easily make self contained packages while minimizing the number of places you need to add to
LD_LIBRARY_PATH/-L/-I etc


it adds 2 options -k and -K (synonymous with -l and -L) as -f -and -F were already taken

some more information as it relates to gcc can be found here...
info -f gcc --node "Darwin Options"

the current implementation does not support sub-frameworks or frameworks
containing multiple architectures yet
and the actual substutution sequence parsing is being implemented in a rtld audit library
so additional patches to implement DT_AUDIT/DT_DEPAUDIT creation are forthcoming


matt

<binutils-frameworks.diff>

Attachment: binutils-frameworks.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]