From: Michael Castle Subject: Re: ndmake and @ (my 10 yen's worth) To: turnbull AT shako DOT sk DOT tsukuba DOT ac DOT jp (Stephen Turnbull) Date: Thu, 17 Feb 1994 17:39:00 -0600 (CST) Cc: djgpp AT sun DOT soe DOT clarkson DOT edu > > I used to use NDMake, but I found it choked on the Ghostscript > makefiles (I don't remember why), so I switched to GNU Make. A recent > post mentioned a real-mode port of GNU Make 3.70 which supposedly > automagically partially supports long command lines (I guess that the > reason the support is partial is that the command itself must support > the response file argument, and the make can't do anything about > that). > An alternative would be to get a copy of the DOS version of sh. I > forget the zip file name, but it was something like sh200.zip, and I'm > sure I saw it on a SIMTEL mirror. There are also commercial tools > with shells that support this kind of long command line. > --Steve > wow.. i like how things come round full circle :-> go32 was modified to handle the method that this port of gnu make uses to pass command lines.. I *think* this was adone around v1.07 or so.... From dj's post, I *assume* that system() (or is it spawn() now?) now automagically does this as well? for Gnu make, you would do something like: set longargs gcc:ar:ld:..... and so on... listing all the djgpp programs you've around that will get called from make... (rm might also be a good one). Make would then call the subprogram by passing the cmd line parms via environment variables.... So actually.. go32 programs supports 3 methods of getting arguments: command line, response files, and this gnumake method of using environment variables... I may be alittle off on the specific use of the longargs environemnt vars... it's been a while ... check the email archives.... Also, this gnu make program does have some problems.... it would often lock up on me... requiring a reboot... your mileage may vary... again... read the email archives for further discussion on this many many months back....