[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building grep 2.9 on SunOS 4
From: |
Eric Blake |
Subject: |
Re: Building grep 2.9 on SunOS 4 |
Date: |
Fri, 03 Feb 2012 15:21:33 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0 |
[adding gnulib]
On 02/01/2012 03:54 PM, Michael Haardt wrote:
> Hello,
>
> with a few tiny changes, grep builds on SunOS 4:
>
> lib/hash.h and lib/version-etc.h should include <stddef.h> for
> size_t.
>
> In lib/errno.h, EILSEQ should be defined if the system does not do that.
>
> lib/langinfo.in.h says:
>
> /* A platform that lacks <langinfo.h>. */
>
> /* Assume that it also lacks <nl_types.h> and the nl_item type. */
>
> The assumption does not hold, SunOS 4 has langinfo.h, but lacks nl_types
> and nl_item.
>
> And finally, SunOS 4 lacks memmove (can use bcopy) and atexit.
>
> Is there any chance to fix those things to make an old system happy?
Gnulib would be the place to fix this, but right now, gnulib has pretty
much abandoned SunOS 4 as a museum piece because no current developer
has access to that old of a platform in order to actively contribute
patches to keep it running. If you want to turn the tide and post the
patches in order to be that active maintainer, there's a chance that we
would apply them, if they aren't too hard to maintain.
--
Eric Blake address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: Building grep 2.9 on SunOS 4,
Eric Blake <=