From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: make & makefile trouble Date: 26 May 2000 11:31:03 GMT Organization: Aachen University of Technology (RWTH) Lines: 40 Message-ID: <8gln9n$cj4$1@nets3.rz.RWTH-Aachen.DE> References: NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 959340663 12900 137.226.32.75 (26 May 2000 11:31:03 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 26 May 2000 11:31:03 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Thomas Zwicker wrote: > Now the questions: > - is it possible to invoke a non djgpp gnu compiler with this make > (maybe there's some restriction because of param. passing ?) Possible: yes. But you'll lack some of the most useful features. Passing of long command lines is the most important one of them. There is effectively no reliable way to pass an overly long commandline to an arbitrary DOS program: lots of different methods have been developed for doing that, over time, and none of them ever became a an accepted standard. There's little DJGPP make can do about it: the called application is the bottleneck. > - how do I properly unset the SHELL-variable as proposed in FAQ16_6 set SHELL= in command.com, before you start Make. > - do I better use a bash-shell (keeping unix "compatibility") > and where to get it ? Probably yes. If you the makefile is Unix-borne, it'll be much easier to get it working with Bash (and some more DJGPP utilities, to provide the typical Unix commands like 'cp', 'rm', 'sed' and some others) than if you try to change it to comply with DOSisms all over the place. > - or does an echo-command don't work anyhow with a long text line 'echo' behaves differently depending on the 'SHELL' variable. With DJGPP Bash as the SHELL, it can handle over-long command lines. With command.com, it is limited by what the 'echo' builting of command.com can handle. In some situations, it may be useful to replace 'echo' by 'gecho' or 'djecho' -- external DJGPP programs that implement 'echo' functionality, and can handle long command lines. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.