Can UNIX shared libraries be merged into a single library? -
i experimenting own bsd or linux distribution. want organize scheme files in way makes sense end user. want them have access scheme without file clutter *nixes leave around.
is there way merge several dynamic libraries single file without losing dynamic linking? have access of source files.
it might system-dependent, @ to the lowest degree elf (the executable format used linux), not possible. elf, shared libraries bit executables: final product of linking process , not designed decomposed or relinked different arrangement.
if have source of components go bunch of shared libraries, suppose link them 1 giant shared library, utilize object files (*.o
) or archive libraries (*.a
) input produce such library.
as alluded in comments, there unlikely reason want this.
unix shared-libraries
No comments:
Post a Comment