Re: dynamic ELF -> static executable?
- From: Paul Pluzhnikov <ppluzhnikov-nsp@xxxxxxxxxxx>
- Date: Sun, 25 Dec 2005 23:48:11 -0800
molnard@xxxxxxxxxxxxxxxxx writes:
> Is there a way to combinbe a dynamic ELF executable with the shared
> libraries it refers to into a static
Yes (but it's a hack, and the resulting executable is huge):
http://groups.google.com/group/gnu.gcc.help/browse_frm/thread/7dd333be29171843
The last message in the thread refers to reducebind.c http link
which has "gone cold". Searching google for reducebind.c however
gives more locations, this one is currently alive:
http://bismark.extracon.it/linux/teso/filemirror/reducebind.c
> (and hence more portable) version of the executable?
The notion that static executables are more portable is a wrong
(or at least miguided) one. You may wish to read this thread on
the subject:
http://groups.google.com/group/comp.os.linux.development.apps/browse_frm/thread/3cb7d8fbf9d82d7b
> The linux loader does something quite similar but I
The linux loader does nothing of the sort.
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
.
- Follow-Ups:
- Re: dynamic ELF -> static executable?
- From: Denes Molnar
- Re: dynamic ELF -> static executable?
- References:
- dynamic ELF -> static executable?
- From: molnard
- dynamic ELF -> static executable?
- Prev by Date: dynamic ELF -> static executable?
- Next by Date: Re: dynamic ELF -> static executable?
- Previous by thread: dynamic ELF -> static executable?
- Next by thread: Re: dynamic ELF -> static executable?
- Index(es):
Relevant Pages
|