This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Repackaging a shared library...
- From: Mikhail Teterin <mi+kde at aldan dot algebra dot com>
- To: binutils at sources dot redhat dot com
- Date: Sat, 1 Jul 2006 00:29:48 -0400
- Subject: 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