delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/25/06:02:03

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
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> <jz7o5.1187$Mw DOT 11451 AT news2 DOT atl> <5567-Mon21Aug2000143151+0300-eliz AT is DOT elta DOT co DOT il> <Y13p5.7909$Ez6 DOT 48830 AT news3 DOT atl> <8o2l25$5rr$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <Gv8p5.6582$OE4 DOT 51360 AT news1 DOT atl> <8o34n7$cvu$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <jicp5.5626$Mw DOT 52550 AT news2 DOT atl>
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 <nobody AT bogus DOT com> wrote:
> Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> 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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019