Xref: news2.mv.net comp.os.msdos.djgpp:6123 From: Orbital Newsgroups: comp.os.msdos.djgpp Subject: GNU Make, DJP, JPTUI etc. Date: Thu, 18 Jul 1996 17:09:36 +0300 Organization: LITNET Lines: 61 Message-ID: NNTP-Posting-Host: zveris.pit.ktu.lt Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I, like many others, was not satisfied with GNU Make's [mis]feature where a Tab character was required in a rule definition. So I got the sources, found a line in read.c, saying: if (lb.buffer[0] == '\t') and changed it to: if (lb.buffer[0] == '\t' || lb.buffer[0] == ' ') So far, the newly built make works OK on my trivial makefiles. What I want to know is are there cases where my hack could skrew up Make's parsing engine? I think DJ can answer that. Thanks. Also, I downloaded DJP 1.03 yesterday and found a little bug in it. There's a line in djp.c, saying: if (!wasexe) strcat(wrkmem, ".exe"); the mistake here is that a file may not be an .exe image but still have an extension, e.g. a.out . I changed the above line to: if (!wasexe) { if ((p1 = strrchr(wrkmem, '.')) != NULL) *p1 = '\0'; strcat(wrkmem, ".exe"); I also changed error messages "can not rename exe file" to "can not rename backup file" and "can not rename ~ file" to "can not rename temporary file" as I find them more understandable. I also have some suggestions for the upcoming version of DJP: why not make it compatible with stubify in terms of command line options? I mean -v for copyright and statistics and -g to generate a link. DJPSTUB.EXE would not be needed any more then and we could put djp in the specs file, like %{pack:djp} %{!pack:stubify} ... . Also I'd suggest making backups optional (eg -b switch) and stripping the debug info optional (eg -s switch). All this is not a lot of work, so if you agree with my suggestions and are lazy to implement them, I'll be glad to do that for you. Just let me know when you're done with DJP 1.04. Yesterday I also downloaded JPTUI 3.3 from Jean-Pierre's web page. Awesome. I was just surprised that the zip contained no sources. I saw jptui32s.zip in v2tk, but it's 3.3 I need... How do I get the sources? I also have one suggestion for JPTUI. So far, JPTUI always switches to mode 03h, i.e. 80x25. Why not make it run in *any* text-video-mode? My Trident 9440 card supports lots of them, 132x30 is my favorite. Robert's port of Turbo Vision already does this, so why JPTUI should't? Again, I'm ready to contribute, just need sources. BTW, being a big M$ and Win hater, I am going to switch to Win95... AArgh.. don't flame me. I want to know, what are those problems with LFN and which apps have them. Emacs 19.31 and GNU Make are the only ones I know. What exactly is wrong with Make? I have the sources so maybe I'll be able to build myself a correct version. Eli? Can you shine some light? Thanks. Martynas vazndain AT pit DOT ktu DOT lt