[PATCH] Fix libiberty to detect new cygwin exports

Christopher Faylor cgf@redhat.com
Fri Aug 17 13:16:00 GMT 2001

On Thu, Aug 16, 2001 at 04:47:48PM -0700, Richard Henderson wrote:
>On Wed, Aug 15, 2001 at 09:48:54PM -0400, Christopher Faylor wrote:
>> Apparently a lot of legacy code expects it without the underscore, too.
>What has this got to do with gnu software though?
>Or does cygwin include then export libiberty?

Cygwin exports a couple of libiberty functions but, ironically, strerror
is not one of them.  It really doesn't even need to build strerror but
there doesn't seem to be a mechanism for excluding it so the patch just
makes it possible to compile it.  Then it ends up, unused, in libiberty.a.

I think that this has proved to me that we have to remove the libiberty
dependence, though.  It really doesn't make any sense to have to go
to this amount of effort for this one target.


More information about the Gcc-patches mailing list