| Date Of Receipt: 18-DEC-1996 11:33:42.60
From: FLUME::jmf "Joshua M. Friedman Digital UNIX"
To: jmw@DEC:.zko.flume
CC: odehelp@DEC:.zko.flume
Subj: Re: Multiple backing trees
Jonathan,
The environment variable used by 'make' (called by 'build') and the
other ode commands, including 'bsh', is:
SOURCEDIR
From within your workon environment, use either
sbinfo SOURCEDIR
or
echo $SOURCEDIR
and you'll see this value. It is a PATH type of variable, listing the
1 or more backingtrees in use.
'make' will always look first in your current directory, and then in
that relative directory in each backingtree whenever it needs to find
source files or dependencies. This does not apply to .o files in the
obj tree, but does apply to sources, and also to headers and libraries,
since SOURCEDIR is used to derive values for INCDIRS & LIBDIRS.
(See the output of "sbinfo" for a full list of environment variables).
Note that all source directories from within a given sandbox configuration
have the same number of backing directories listed.
Hope that answers your questions. -josh
p.s. Brenda (who is out on maternity leave) has been removed from
odehelp; thanks for pointing this out.
----------
From jmw Tue Dec 17 16:11:10 1996
Delivery-Date: Tue, 17 Dec 96 16:11:28 -0500
To: odehelp
Cc: [email protected]
Subject: Multiple backing trees
Date: Tue, 17 Dec 96 16:10:10 -0500
From: jmw
X-Mts: smtp
Howdy,
I did an ODE command:
% bsh ls
and got back:
Multiple backing trees:
1) /usr/sde/osf1/build/cfe/src/kernel/bsd
2) /usr/sde/osf1/build/ptaos.bl4/src/kernel/bsd
Select backing directory:
where (presumably) I'm supposed to reply either "1" or "2".
My question is: If I change directories to the tree that I used to
back my sandbox and then "cd" to the equivalent sub-directory, I don't
see anything that indicates that multiple backing trees are being used.
I then guessed that I might find something interesting if I looked at
the common directory hierarchy (/usr/sde/osf1/build) -- i.e. prior to
the divergence down the "cfe" or "ptaos.bl4" branch -- that might
indicate two backing trees, but I didn't see anything there either.
How can one tell, for a given directory in one's sandbox, how many
backing trees it has ? Thanks.
-- Jonathan Wistar (DTN 381-6418)
|