Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire] Small question: why binutils installs static libs only?

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: "Sergey A. Lipnevich" <sergey AT optimaltec.com>
  • To: Dufflebunk <dufflebunk AT dufflebunk.homeip.net>
  • Cc: Grimoire <sm-grimoire AT lists.ibiblio.org>
  • Subject: Re: [SM-Grimoire] Small question: why binutils installs static libs only?
  • Date: Mon, 07 Apr 2003 15:00:30 -0400

I'm talking about libraries:
# gaze install binutils|grep /usr/lib
/usr/lib/libbfd.a
/usr/lib/libbfd.la
/usr/lib/libiberty.a
/usr/lib/libopcodes.a
/usr/lib/libopcodes.la


Dufflebunk wrote:
They are (see dump at bottom). Interestingly enough though, none are
stripped for me, but I'm pretty sure I've always had the strip option
on.


$ file `gaze install binutils | grep '^/usr/bin'`
/usr/bin/addr2line: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped
/usr/bin/ar:        ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped
/usr/bin/as:        ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped
/usr/bin/c++filt:   ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped
/usr/bin/gprof:     ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped
/usr/bin/ld:        ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped
/usr/bin/nm:        ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped
/usr/bin/objcopy:   ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped
/usr/bin/objdump:   ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped
/usr/bin/ranlib:    ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped
/usr/bin/readelf:   ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped
/usr/bin/size:      ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped
/usr/bin/strings:   ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped
/usr/bin/strip:     ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped

On Mon, 2003-04-07 at 12:17, Sergey A. Lipnevich wrote:
  
Hi Julian!

Is there any reason why binutils only produces static libraries 
(installed in /usr/lib) and not dynamic? If the only reason is "by 
default", should we switch to dynamic libraries? I could do that if you 
agree.
This is a side question of trying to cast mono-debugger which doesn't 
like our BFD library (libbfd). I have to figure that one out anyway... 
If anyone's interested, it spews lots of undefined references, and based 
on observation that they aim at binutils 2.12 and gcc 2.9x, I think 
./configure has to be patched.
Thank you!

Sergey.

_______________________________________________
SM-Grimoire mailing list
SM-Grimoire AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/sm-grimoire
    
  



Archive powered by MHonArc 2.6.24.

Top of Page