[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

1164.0. "RE: re: make -c problem" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Mon Dec 19 1994 18:32

Date Of Receipt: 	19-DEC-1994 18:15:54.75
From: 	SMURF::FLAMBE::jmf "Joshua M. Friedman OSF/UNIX SDE"
To: 	gentry@dec:.zko.rusure
CC: 	odehelp@DEC:.zko.flambe
Subj: 	RE: re: make -c problem

Megan, if you do 'sbinfo PATH' - it will show you the path used by 
the build when you type 'build'.  ('printenv PATH' (from csh) will 
show the current PATH defined, but build forks a new process with
a new path.  It should be that the first make found along PATH will
be in the pool's tools (see below).

(The 'which' command resources your .cshrc and is pretty useless.)
You can use the attached little script to check this.  Call it 'bwhich' 
(that's my cutsie name) and make it executable.  Then run

	bwhich make
	
When I run it I get the following when backed to v13supportos.nightly:

v13supportos-519 % bwhich make
/usr/sde/osf1/build/v13supportos.nightly/tools/alpha/cc/usr/bin/make
/usr/sde/osf1/build/agosmaint.bl6/tools/alpha/cc/usr/bin/make
/usr/sde/ode2.0/tools/alpha_ace/bin/make
/usr/ucb/make
/bin/make
/usr/bin/make
/sbin/make
/usr/sde/osf1/build/agosmaint.bl6/tools/alpha/hostbin/make


----------bwhich---------
#!/usr/bin/ksh -p
for i in `sbinfo PATH | tr : ' '` ; do
[ -f $i/$1 ] && echo $i/$1
done


T.RTitleUserPersonal
Name
DateLines