Xref: utzoo comp.binaries.ibm.pc.d:8627 gnu.misc.discuss:1235 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!usc!sdd.hp.com!samsung!xylogics!bu.edu!cvbnet!jsulliva From: jsulliva@cvbnet.prime.com (mailhost) Newsgroups: comp.binaries.ibm.pc.d,gnu.misc.discuss Subject: Re: GNU diff for MSDOS Message-ID: <664@cvbnetPrime.COM> Date: 16 Jul 90 19:50:24 GMT References: <1990Jul13.181022.2792@cc.ic.ac.uk> Sender: postnews@cvbnetPrime.COM Lines: 28 From article <1990Jul13.181022.2792@cc.ic.ac.uk>, by rb@cc.ic.ac.uk (Robin Becker): > I tried out the MSDOS versions of patch and GNU diff that were posted > recently and got dissappointing results. I don't have TC 2.0 and don't > like all of their nonstandard bits. I had no problem with gnudiff, once I applied the patches tcpatch.dif and mypatch.dif. I used TC++ 1.0 (TC 3.0). However, I changed the compile flags for diff and saved quite a bit on the executable size. I used -O -a -G (optimize, word-align and optimize for speed). The -N option in the original makefile adds quite a bit of stack-checking code to the executable. The patch distribution, was a much different story. Using TC++ 1.0 and the -N option, I could NOT get the program to execute without a "Stack Overflow!" error. Luckily, I was able to run the included executable (patch.exe) without a problem. Ndmake also complained that the macros LARGE and LDFLAGS were not defined. Maybe that is part of the problem. If anyone knows how to fix the "Stack Overflow!" error in patch, please let me know. Thanks, -Jeff Jeff Sullivan | Computervision/Prime | jsulliva@cvbnet.prime.com CADDS R&D | Bedford, MA 01730 | sun!cvbnet!jsulliva