RJLRef; $CASE/bdelog2ks/bdeBuuldScript_jf.2k0413 Hi Jeff. I have questions (trivial I bet): Below is your file after I cleaned out =A= and =3D from PC mailer. Thanks for preparing this draft. Here is some feedback. ----------------------------------------------------- Q1: last line is 'mak' - should it be 'make -e ' ? Q2: does set need subsequent export command? Q3: I'm not sure why you suggest adding 'value'... to path? Q4: we'll need explanations of your TBD options - (a user guide?) Q5; Why clear? perhaps we want to scrollback/copy the command line? Q6: My path is normally this: saturn.cs.uml.edu(57)> echo $path /usr/local/bin /usr/bin/X11 /usr/ucb /bin /usr/bin . /usr/common/bin to which you would add (and/or reorder) this: /bin /usr/common/bin /sbin /usr/sbin /usr/bsd = (the '=' may be an artifact ) Since adding s* and altering search order may be significant, can you provide an explanation? Q7: You might want to check for this link: bde/src/lib---> ../lib, since Imakefiles in bde and bde/src both refer to the same BDE_LIB_PATH ./lib and without this link one of the Makefiles is not happy. Q8: I don't see the connection from this script to the script bde/executables/bde that runs bde/exec*/${HOSTTYPE}/bde.exe? (E.g.: add to src/Imakefile (if src/bde was made:) 'mv bde/src/bde to bde/exec*/${HOSTTYPE}/bde.exe') Q9: My alias output will scroll 105 lines; (.aliases is 155 lines) I don't know if I want to use up that much scroll buffer space? Q10: I don't see where the make history (from last command) gets saved to out.txt after you cat alias and printenv output there? is this part of the next version? Thanks for your good start - RJL ---------------------------------------------------------- From jfeinberg@pumatech.com Thu Apr 13 15:54:35 2000 To: lechner@cs.uml.edu, maushah@cs.uml.edu, joseph.francis@fmr.com, jfrancis@cs.uml.edu, pshaughn@mediaone.net Subject: Build script Date: Thu, 13 Apr 2000 15:57:17 -0400 attached is the file I am using for building this is the last working version there is a bigger one that has options for selecting the version of BDE to use and getting a label from CVS and placing a label but some of these functions do not work at the moment... this is a shell script for you to use for the time. I expect the next rev to be ready this weekend. <> Jeff Feinberg filename="build.txt" #!/bin/tcsh # SYNTAX: # , # # # path defaults set in .tcshrc: # clear the screen clear # store the environment setting that we intent to change so that # we can restore them when we are done set verbose set oldpath $path set oldPATH $PATH set oldCXX $CXX set oldCASE $CASE set oldBDEROOT $BDEROOT set oldCVSROOT $CVSROOT set oldSHELL $SHELL set oldpwd $PWD # setup the environment the way we need it set path ( $path /bin /usr/common/bin /sbin /usr/sbin /usr/bsd = ) setenv PATH $PATH:/bin:/usr/common/bin:/sbin:/usr/sbin:/usr/bsd setenv CASE '/usr/proj3/case' setenv BDEROOT '/usr/proj3/case/95s523/95sbde/base/Master' setenv CVSROOT $BDEROOT setenv SHELL '/bin/tcsh' setenv EDITOR '/usr/ucb/vi' # CVS constants #cvs co bde #to checkout all of bde into ./bde... #cvs co bde/src/linkops.cc /* to checkout linkops.cc into ./bde/src = */ # print the environment out to a file before we do anything # copy the last env file and save it just in case cp presetenv.txt presetenv.old rm presetenv.txt alias |tee aliasout.txt printenv |tee presetenv.txt cat presetenv.txt aliasout.txt # make the assuption that the file was run from the users # working directory and that all the directories are in place mak