[Gc] GC patch for DJGPP
Fri, 31 Oct 2003 17:14:26 -0800
Thanks very much. The Makefile clearly needed work.
I applied it with two exceptions:
1) I don't understand the change to finalize.c, and it doesn't look right.
It appears to omit finalizer calls if the supplied argument happens to be
zero. Is this just leftover debugging code?
2) The change in the include file path to mach_dep.c is inconsistent
with all the other source files. I set SPECIALCFLAGS in Makefile.dj
to the same thing as in Makefile instead. Could you verify that that works?
> -----Original Message-----
> From: email@example.com [mailto:firstname.lastname@example.org]On
> Behalf Of Doug Kaufman
> Sent: Sunday, October 19, 2003 2:26 PM
> To: email@example.com
> Subject: [Gc] GC patch for DJGPP
> The attached patch allows compilation of gc on DOS using DJGPP. The
> patch is against version 6.3alpha2. This brings Makefile.dj into
> synch with the current code, and makes some other modifications for
> DJGPP. The original code crashed when running cordtest because of
> dereferencing of a null pointer. I think the change in finalize.c
> fixes this. The DJGPP version of fopen can't open a directory, hence
> the code for opendir.
> Note that Makefile.dj is not really needed any longer, since DJGPP
> compiles fine with the autoconfigure method. Make check passes all the
> tests. The modified Makefile.dj also seems to work and passes
> gctest and
> Let me know if there are any questions about this. This was used to
> compile a working version of w3m.
> Doug Kaufman
> Internet: firstname.lastname@example.org