This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libiberty.a
- To: baron at cs dot technion dot ac dot il, bug-gcc at gnu dot org
- Subject: Re: libiberty.a
- From: Mike Stump <mrs at windriver dot com>
- Date: Wed, 19 Apr 2000 09:40:06 -0700 (PDT)
> 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.