Mail Archives: djgpp-workers/2000/01/19/11:56:41
Hi, all,
I have found some minor quirks(?), questions and other things
concerning the new v2/dj*203.zip files.
- Most important one (IMHO): src/stub/djasm.y generates time-stamps
like "$Id: stub.asm built 18/01/100 14:20:56 by djasm $" which also
causes the stub to change 'significantly' (although it still seems
to fit into 2k). A century bug at last :(. I suggest the following:
diff -u j:src/stub/djasm.y ./src/stub/djasm.y
--- j:src/stub/djasm.y Thu Jun 03 13:27:42 1999
+++ ./src/stub/djasm.y Wed Jan 19 16:22:51 2000
@@ -2514,7 +2514,7 @@
'$', inname,
tm->tm_mon + 1,
tm->tm_mday,
- tm->tm_year,
+ tm->tm_year % 100,
tm->tm_hour,
tm->tm_min,
tm->tm_sec);
@@ -2523,7 +2523,7 @@
inname,
tm->tm_mon + 1,
tm->tm_mday,
- tm->tm_year,
+ tm->tm_year % 100,
tm->tm_hour,
tm->tm_min,
tm->tm_sec);
- Many of the zip files contain CVS directories, although I think they
are of no use. If users need them, they should always grab whole CVS
source tree.
- djtzn203.zip (IIRC) has a problem when unzipped without LFNs; it
contains both zoneinfo/australia/CVS and zoneinfo/australasia/CVS.
- Now that we use the nroff-code for info/time2posix.3, maybe we
should copy info/time2posix.3 to info/posix2time.3 too?
- I see src/debug/common/symify.c lacks Eli's new code that does
dynamic memory allocation and abbreviation, etc. Is there a reason
for that? IMHO, it is more of a bug fix than a new feature, so...
- What is the file src/typescript? Another unwanted leftover:
zoneinfo/src/core
- src/gcc*.opt: why do we still use the -fno-strength-reduce and -m*
options?
- Why are the following still in djgpp.env, can't they do any harm?
+TEXMFMAIN=%DJDIR%/share/texmf
[cpp]
CPLUS_INCLUDE_PATH=%/>;CPLUS_INCLUDE_PATH%%DJDIR%/lang/cxx;%DJDIR%/include
C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%%DJDIR%/include
OBJCPLUS_INCLUDE_PATH=%/>;OBJCPLUS_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang
/objc
OBJC_INCLUDE_PATH=%/>;OBJC_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc
[gcc]
LIBRARY_PATH=%/>;LIBRARY_PATH%%DJDIR%/lib
- In readme.1st:
...
program. However, the Berkeley license has been changhed in July
... ===
- Some makefiles contain a tab on a line of its own. Emacs warns for
this situation. Maybe just delete those tabs for safety:
diff -u j:src/libm/makefile ./src/libm/makefile
--- j:src/libm/makefile Sun Sep 27 23:11:08 1998
+++ ./src/libm/makefile Sun Jan 16 18:49:48 2000
@@ -5,6 +5,6 @@
LIBNAME=m
include $(TOP)/../makefile.lib
-
+
clean ::
$(MISC) rm makefile.sub
diff -u j:src/debug/fsdb/makefile ./src/debug/fsdb/makefile
--- j:src/debug/fsdb/makefile Sun Sep 27 13:04:26 1998
+++ ./src/debug/fsdb/makefile Sun Jan 16 19:55:36 2000
@@ -21,6 +21,6 @@
$(BIN)/fsdb.exe : $C $(EOBJS) $(LIB)/libdbg.a $L
$(LINK)
$(EXE)
-
+
clean ::
$(MISC) rm expr.c
diff -u j:src/libemu/makefile ./src/libemu/makefile
--- j:src/libemu/makefile Mon Sep 6 07:37:40 1999
+++ ./src/libemu/makefile Sun Jan 16 19:57:56 2000
@@ -13,6 +13,6 @@
$(BIN)/emu387.dxe : src/emu387.o src/emudummy.o
$(HOSTBIN)/dxegen.exe $(BIN)/emu387.dxe __emu_entry src/emu387.o
id_emu.o src/emudummy.o -L../../lib $(LIBGCCA) -lc $(LIBGCCA)
-
+
clean ::
$(MISC) rm makefile.sub
diff -u j:src/libm/makefile ./src/libm/makefile
--- j:src/libm/makefile Sun Sep 27 17:11:08 1998
+++ ./src/libm/makefile Sun Jan 16 19:59:28 2000
@@ -5,6 +5,6 @@
LIBNAME=m
include $(TOP)/../makefile.lib
-
+
clean ::
$(MISC) rm makefile.sub
- There is one more place where c:/djgpp is hardcoded:
diff -u j:zoneinfo/src/private.h ./zoneinfo/src/private.h
--- j:zoneinfo/src/private.h Tue Jun 15 04:22:20 1999
+++ ./zoneinfo/src/private.h Sat Aug 21 20:54:32 1999
@@ -269,7 +269,7 @@
#define HAS_DEVICE(n) ((n)[0] && (n)[1] == ':')
#define IS_ABSOLUTE(n) (IS_SLASH((n)[0]) || HAS_DEVICE(n))
#undef TZDIR
+#define TZDIR (getenv("TZDIR")?getenv("TZDIR"):"c:/djgpp/zoneinfo")
-#define TZDIR
(getenv("TZDIR")?getenv("TZDIR"):"/dev/env/DJDIR~c:/djgpp~/zoneinfo")
#else
#define HAS_DEVICE(n) 0
#endif /* __MSDOS__ */
Hope this helps,
Groente, Michel.
- Raw text -