[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling gawk on Tandem NSK/OSS

From: Matthew Woehlke
Subject: Re: Compiling gawk on Tandem NSK/OSS
Date: Mon, 27 Nov 2006 10:29:36 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20061025 Thunderbird/ Mnenhy/

Aharon Robbins wrote:
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 */


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.

unsupported/tandem looks like it was written for Guardian (or maybe something entirely unrelated; are we even talking about NSK here?), not OSS, so is not relevant (re: your other e-mail, OSS is in fact "posix-ish" and I did use ./configure).

Alas I have yet to learn autoconf, but I assume one would add '-D_TANDEM_SOURCE -D_XOPEN_SOURCE_EXTENDED=1' to CFLAGS if the target is in the family of 'nsr-tandem-nskG06'. (Hmm, and since I only have the one box, I'm not sure if "family" should be ns?-tandem-*, *-tandem-nsk*, or something else entirely. Maybe someone else that has at least passing familiarity with the NS* series can comment?)

This message will self destruct in five millennia.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]