From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP port of WHICH Date: 25 Aug 2000 09:59:36 GMT Organization: Aachen University of Technology (RWTH) Lines: 23 Message-ID: <8o5g28$aok$1@nets3.rz.RWTH-Aachen.DE> References: <44An5.13355$Gs DOT 66133 AT news4 DOT atl> <7QWn5.142399$Fw6 DOT 3484407 AT afrodite DOT telenet-ops DOT be> <5567-Mon21Aug2000143151+0300-eliz AT is DOT elta DOT co DOT il> <8o2l25$5rr$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <8o34n7$cvu$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 967197576 11028 137.226.32.75 (25 Aug 2000 09:59:36 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 25 Aug 2000 09:59:36 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com David wrote: > Hans-Bernhard Broeker wrote in message > news:8o34n7$cvu$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE... [...] >> Changing the PATH generally won't help, in that respect. No matter how >> you set it, you'll almost invariably have the wrong version of some >> program found first. [...] > Thats exactly what I do. If I get unexplained behavior during a make, I try > to rearrange my path using batch files. Not a very good method, IMHO. It's easier to use absolute paths to the utilities inside the Makefile. Manually Fiddling with the contents of $PATH creates more problems than it solves. PATH is supposed to be relatively static. It can be useful to modify it for setup-type batch files, but otherwise, PATH is part of that 'running system' you should 'never change', as the saying goes. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.