Path: utzoo!utgpu!watmath!clyde!bellcore!rutgers!apple!bionet!agate!ucbvax!hplabs!pyramid!infmx!greggy From: greggy@infmx.UUCP (greg yachuk) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: need the GNU sed executable Message-ID: <673@infmx.UUCP> Date: 9 Dec 88 02:10:54 GMT References: <4346@tekgvs.GVS.TEK.COM> Reply-To: greggy@infmx.UUCP (greg yachuk) Distribution: na Organization: Informix, Menlo Park, Ca. U.S.A. Lines: 27 In article <4346@tekgvs.GVS.TEK.COM> keithe@tekgvs.GVS.TEK.COM (Keith Ericson) writes: >I managed to mangle the GNU sed executable that came down the pike a >while ago. (The datestamp on my files is May 1986.) And re-compiling >them isn't an option because a couple of the #include files are >missing. Actually, it reasonably well without the include files. They never came in ARC file. I just commented out "compiler.h" and gave a simple "debug.h" and the thing is fine. I also built it in SMALL model and it is now a fraction of the size of the executable that was distributed. I don't know yet if there are going to be any address space problems, though. The only thing you need in "debug.h" is a definition for PASS(), which seems to be a debugging aid which displays a string. You can define it as #ifdef DEBUG #define PASS(s) puts(s) #else #define PASS() #endif >keith -greg Greg Yachuk Informix Software Inc., Menlo Park, CA (415) 322-4100 {uunet,pyramid}!infmx!greggy why yes, I DID choose that login myself