This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why is libiberty built for the target? (was Re: Why does libibertyhave to build before a C library?)


> I'd like to ask a deeper question: Why is libiberty built for the
> target?  I am not aware of any use whatsoever of the generated
> libiberty.a.  Certain libraries want to suck in the C++ demangler but
> they can do it the same way gcc and binutils do, viz. by building an
> .o from the libiberty source.

Well, one answer is "why not?"  It's a library.  We build it so the
target can use it.

Some targets need it, though, like cygwin.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]