dynamic ELF -> static executable?
- From: molnard@xxxxxxxxxxxxxxxxx
- Date: Mon, 26 Dec 2005 01:04:31 -0500
Hi,
Is there a way to combinbe a dynamic ELF executable with the shared libraries it refers to into a static (and hence more portable) version of the executable? The linux loader does something quite similar but I could not coerce the linker 'ld' to do it, e.g.,
ld -Bstatic -o <static_exec> <dyn_exec> <libraries>
creates an executable that segfaults when run.
Thanks for any help or pointers,
Denes .
- Follow-Ups:
- Re: dynamic ELF -> static executable?
- From: Tim Smith
- Re: dynamic ELF -> static executable?
- From: Paul Pluzhnikov
- Re: dynamic ELF -> static executable?
- Prev by Date: Re: signals/threads
- Next by Date: Re: dynamic ELF -> static executable?
- Previous by thread: disable typeahead / input queue w/ ncurses
- Next by thread: Re: dynamic ELF -> static executable?
- Index(es):