This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: libiberty.a question
- From: DJ Delorie <dj at redhat dot com>
- To: halla3 at corp dot earthlink dot net
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 19 Apr 2004 15:47:38 -0400
- Subject: Re: libiberty.a question
- References: <1082403681.23053.26.camel@kuu.eng.atl.earthlink.net>
> I am attemping to build binutils, but when I build a dpkg from the
> compiled src and install it, I get a conflict w/ GCC.
In general, the solution is to build the two packages in different
directories, so that they each use the libiberty they came with.
> Could someone please tell me what libiberty.a is used for?
Mostly, it is a portability library.
> Why does this pkg contain the same library as GCC?
Why not? Why re-invent it for each package that needs it? GDB uses
it also, as does cygwin and a few other packages.
> Which on is the correct one to use?
The one that comes with the sources you're trying to build. If you
need to choose, choose the more recent one.