* libiberty is not installed anymore, but its header file still is
@ 2012-03-14 19:40 Nikos Chantziaras
2012-03-15 2:55 ` Ian Lance Taylor
0 siblings, 1 reply; 2+ messages in thread
From: Nikos Chantziaras @ 2012-03-14 19:40 UTC (permalink / raw)
To: gcc-help
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: libiberty is not installed anymore, but its header file still is
2012-03-14 19:40 libiberty is not installed anymore, but its header file still is Nikos Chantziaras
@ 2012-03-15 2:55 ` Ian Lance Taylor
0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2012-03-15 2:55 UTC (permalink / raw)
To: Nikos Chantziaras; +Cc: gcc-help
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-15 2:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-14 19:40 libiberty is not installed anymore, but its header file still is Nikos Chantziaras
2012-03-15 2:55 ` Ian Lance Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).