[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
DJGPP specific patch for gawk-3.1.5c
From: |
Juan Manuel Guerrero |
Subject: |
DJGPP specific patch for gawk-3.1.5c |
Date: |
Mon, 19 Mar 2007 02:53:24 +0100 |
User-agent: |
KMail/1.8.2 |
Here are some minor fixes needed to compile gawk 3.1.5c with djgpp 2.04.
The test cases manyfiles and strftime fail, but I do not have the time to
investigate this at this moment.
Regards,
Juan M. Guerrero
diff -aprNU5 gawk-3.1.5c.orig/pc/ChangeLog gawk-3.1.5c/pc/ChangeLog
--- gawk-3.1.5c.orig/pc/ChangeLog 2007-03-06 07:32:46 +0000
+++ gawk-3.1.5c/pc/ChangeLog 2007-03-19 02:41:32 +0000
@@ -1,5 +1,10 @@
+2007-03-19 Juan M. Guerrero <address@hidden>
+
+ * config.h: Undef HAVE_ALLOCA for DJGPP.
+ * Makefile: Add floatcomp$O to AWKOBJS1 and PAWKOBJS1.
+
2007-02-25 Juan M. Guerrero <address@hidden>
* config.h: Let DEFPATH reflect DJGPP installation directory tree.
* Makefile: pkgdatadir variable defined to $(prefix)/lib/awk.
* Makefile: In DJGPP section use the DJGPP environment variable to
diff -aprNU5 gawk-3.1.5c.orig/pc/Makefile gawk-3.1.5c/pc/Makefile
--- gawk-3.1.5c.orig/pc/Makefile 2007-03-06 07:32:46 +0000
+++ gawk-3.1.5c/pc/Makefile 2007-03-19 02:14:28 +0000
@@ -316,13 +316,13 @@ EMPTY=
# bitwise operations (-DBITOPS) and non-decimal input data (-DNONDECDATA) are
# undocumented in 3.0.3. They may be enabled in config.h, or added to CFLAGS.
CFLAGS = $(CF) -DGAWK -I. -DHAVE_CONFIG_H $(DYN_FLAGS)
# object files
-AWKOBJS1 = array$O builtin$O eval$O field$O gawkmisc$O io$O main$O
+AWKOBJS1 = array$O builtin$O eval$O field$O floatcomp$O gawkmisc$O io$O main$O
AWKOBJS2 = ext$O msg$O node$O profile$O re$O version$O $(DYN_OBJ)
-PAWKOBJS1 = array$O builtin$O eval_p$O field$O gawkmisc$O io$O main$O
+PAWKOBJS1 = array$O builtin$O eval_p$O field$O floatcomp$O gawkmisc$O io$O
main$O
PAWKOBJS2 = ext$O msg$O node$O profile_p$O re$O version$O $(DYN_OBJ)
AWKOBJS = $(AWKOBJS1) $(AWKOBJS2)
ALLOBJS = $(AWKOBJS) awkgram$O getid$O $(OBJ)
diff -aprNU5 gawk-3.1.5c.orig/pc/config.h gawk-3.1.5c/pc/config.h
--- gawk-3.1.5c.orig/pc/config.h 2007-03-06 07:32:46 +0000
+++ gawk-3.1.5c/pc/config.h 2007-03-19 02:04:40 +0000
@@ -517,10 +517,11 @@
#endif
#if defined(DJGPP)
# define HAVE_LIMITS_H 1
# undef HAVE_POPEN_H
+# undef HAVE_ALLOCA
#define intmax_t long long
#define uintmax_t unsigned long long
#endif
#if defined(__WIN32__) && defined(__CRTRSXNT__)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- DJGPP specific patch for gawk-3.1.5c,
Juan Manuel Guerrero <=