From: rocco@ll.mit.edu (A. Gregory Rocco Jr.)
Newsgroups: comp.sys.mentor
Subject: Method for mixing Mentor version 7 & 8 on the same node
Date: 9 Apr 92 01:58:59 GMT
Organization: MIT Lincoln Lab; Lexington Ma
Originator: rocco@ll.mit.edu (A. Gregory Rocco Jr.)


For those of you are wondering if you can mix Mentor versions 7 & 8 on
the same node, the answer is yes you can (currently).  We are running
Domain/OS 10.3.5.1, Mentor V7.0_5, Mentor V8.0_5 rev A on several of 
our nodes.  The way we have set this up is as follows:

   Each node has a /idea.v7 directory or link which contains the version 7 
   software.

   Each node has a /idea.v8 directory or link which contains the version 8
   software.

   When we are installing software we create a link which points at the 
   directory (idea.v7 or idea.v8) which we are installing to.  At other
   times we have a directory /idea which is mostly a directory of links as
   follows:
       $ ld -st -lt /idea
       
       Directory "/idea":
       
       sys
       type  name
       
       link  authorization_list  "../idea.v7/authorization_list"
       link  bin                 "../idea.v8/bin"
       link  case                "../idea.v7/case"
       link  com                 "../idea.v7/com"
       link  contextlib          "../idea.v7/contextlib"
       link  dev                 "../idea.v8/dev"
       link  doc                 "/user/mentor/manual/doc"
       link  etc                 "../idea.v8/etc"
       link  font_registry       "../idea.v8/font_registry"
       link  idealib             "../idea.v7/idealib"
       link  install             "/lib_nodes/mentor/idea/install"
       link  install8            "../idea.v8/install8"
       link  lib                 "../idea.v8/lib"
       dir   log
       link  net                 "//"
       link  netlisters          "/lib_nodes/mentor/idea/netlisters"
       link  os_bin              "../idea.v8/os_bin"
       link  pkgs                "../idea.v8/pkgs"
       link  registry            "../idea.v8/registry"
       link  servers             "../idea.v7/servers"
       link  shared              "../idea.v8/shared"
       link  sys                 "../idea.v7/sys"
       link  tmp                 "/user_temp"
       link  toolbox             "../idea.v8/toolbox"
       link  unrlsd              "/lib_nodes/mentor/idea/unrlsd"
       link  user                "/user"
       
       26 entries, 4 blocks used.
       $

   In each user shell the command search rules (or PATH) should be set to
   contain /idea/com and /idea/bin.  In most cases the names of commands
   are different.  There are a few cases where they are the same, in 
   these cases there are several options here are a two of them:
      1. Put the command directory for the version you actually want first.
      2. Use the full path name for commands which are in both versions.

We are using the links as shown above instead of merging the actual trees so
that we have the option of easily changing between having local or linked
copys of the version 7 and version 8 software independently.

Greg Rocco
rocco@ll.mit.edu
MIT Lincoln Lab
Lexington Ma USA
Newsgroups: comp.sys.mentor,comp.sys.apollo