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]

Repackaging a shared library...


Hello!

I'm pretty sure the following is possible, indeed, straightforward, but don't 
know how to do it.

I want to be able to repackage a shared library compiled and linked for one 
ELF-based Operating System to work on another -- using the same hardware 
architecture.

For simplicity, let's consider an example of the Macromedia/Adobe Flash plugin 
(libflash.so) found in the plugins/ subdirectory of your Firefox install.

The shared library is only available for Linux -- I'd like to use it on 
FreeBSD.

A hack (http://freshports.org/www/linuxpluginwrapper) exists, that provides 
emulation for the libraries, libflash.so expects, but is not it possible to 
edit the library directly -- changing its dependencies, and providing the 
possibly missing symbols (such as _stderr)?

Thanks!

	-mi


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