This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: libiberty is not installed anymore, but its header file still is
- From: Ian Lance Taylor <iant at google dot com>
- To: Nikos Chantziaras <realnc at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 14 Mar 2012 19:55:14 -0700
- Subject: Re: libiberty is not installed anymore, but its header file still is
- References: <jjqrin$rjf$1@dough.gmane.org>
Nikos Chantziaras <realnc@gmail.com> writes:
> GCC does not install libiberty anymore. This commit has disabled it:
>
> http://gcc.gnu.org/viewcvs?view=revision&revision=175560
>
> However, programs that were previously making use of functions like
> vasprintf() compile just fine and only fail at link time. This is
> because libiberty.h is still installed by GCC.
>
> Functions that are not available for the user shouldn't have any
> prototypes. Can this be considered as a GCC bug?
Yes. If we don't install libiberty.a, we should not install
libiberty.h.
Ian