[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling gawk on Tandem NSK/OSS
From: |
Aharon Robbins |
Subject: |
Re: Compiling gawk on Tandem NSK/OSS |
Date: |
Sat, 25 Nov 2006 22:31:30 +0200 |
Gawk does not use gnulib. Nor is it likely to in the near future.
I would appreciate it if a patch could be supplied for tandem based on
what's in the tandem directory. In particular, if whatever command script
is used to do the compiling can add the _TANDEM_SOURCE and so on flags,
instead of their having to be added to the source files.
Thanks,
Arnold
> Date: Tue, 07 Nov 2006 22:52:32 -0700
> From: Eric Blake <address@hidden>
> Subject: Re: Compiling gawk on Tandem NSK/OSS
> To: Matthew Woehlke <address@hidden>
> Cc: address@hidden, bug-gnulib <address@hidden>
>
> According to Matthew Woehlke on 11/7/2006 2:35 PM:
> > I am trying to build gawk 3.1.5 on Tandem NSK/OSS. To get this to work,
> > I had to apply the following patch:
> >
> > ==== BEGIN patch
> > --- gawk-3.1.5/awk.h 2005-07-26 11:07:43.000000000 -0700
> > +++ gawk-3.1.5-oss/awk.h 2006-11-07 11:47:38.000000000 -0800
> > @@ -41,6 +41,9 @@
> > #define _GNU_SOURCE 1 /* enable GNU extensions */
> > #endif /* _GNU_SOURCE */
> >
> > +#define _TANDEM_SOURCE
> > +#define _XOPEN_SOURCE_EXTENDED 1
>
> Isn't this taken care of by using the latest version of the gnulib
> extensions module? At any rate, my understanding is that autoconf 2.61
> will also take care of this, by including the changes that gnulib made
> post autoconf-2.60. Is gawk even using gnulib yet?
>
> >
> > ...and I also had to add '-lzrldsrl' to LIBS (this is NSK's '-ldl').
>
> Ralf posted a better solution to this on the autoconf list.
>
> - --
> Life is short - so eat dessert first!
>
> Eric Blake address@hidden