Skip to Content.
Sympa Menu

sm-sorcery - Re: [SM-Sorcery]Static base spells

sm-sorcery AT lists.ibiblio.org

Subject: Discussion of Sorcery related topics

List archive

Chronological Thread  
  • From: Arwed von Merkatz <v.merkatz AT gmx.net>
  • To: sm-sorcery AT lists.ibiblio.org
  • Subject: Re: [SM-Sorcery]Static base spells
  • Date: Fri, 29 Nov 2002 14:41:52 +0100

On Fri, Nov 29, 2002 at 01:02:36PM +0100, Julian v. Bock wrote:
> Er, what??
>
> Static linking does include glibc (if you refer to the -static gcc/ld
> option). Only the object files which are referenced are included
> though. (static libraries are just ar archives of object files with a
> table of exported symbols).
well, i used ./configure --enable-static-linking ...
it says it's statically linked, but when i look at the memory maps of
the running process in gnome-system-monitor, it still shows
/lib/libc, while it doesn't show ncurses or readline shown for dynamic
bash.

anyway, i think the standard utilities should be linked dynamically, but
there should be some statically linked rescue versions.

> You can of course link both static and shared libraries into an
> executable, but the result is still a dynamically linked executable.
>
> Check your bash with file. If file says something like
> 'ELF 32-bit LSB executable, Intel 80386, version 1, statically linked'
> your bash includes the libc.




Archive powered by MHonArc 2.6.24.

Top of Page