libiberty.a

Mike Stump mrs@windriver.com
Wed Apr 19 09:40:00 GMT 2000


> From: "Ilan Bar-On" <baron@cs.technion.ac.il>
> To: <bug-gcc@gnu.org>
> Date: Wed, 19 Apr 2000 08:21:01 +0300

> gcc and binutils both create the library libiberty.a when compiled staticly.

> However, they are not the same and they are written on each other.

> Is this a bug?

No.  A bug is where you want the software to do X and it doesn't.

> What is the purpose of this library ?

To satisfy possible unresolved externals.  Do an nm libiberty.a to see
which symbols it can provide.  The idea is provide unix style things
that some systems don't provide.  Think of it as a mini libc of things
that some people don't provide, or some thing that people get wrong.

> If I need to compile the above programs, in what order should I do it?

Any.


More information about the Gcc-bugs mailing list