Making Your Own Version of DyC

This page describes how to check out, build, and use your own version of our compiler. If you have any difficulties or questions, e-mail Brian or Markus.

Checking It Out of CVS

Multiflow is checked into CVS. Eventually, other pieces of the system will be as well. To access the CVS archive, you should add the following line to your .cshrc:

setenv CVSROOT /afs/cs/project/dyncomp/DyC

To make a copy of the compiler for yourself:

cd /afs/cs/project/dyncomp
mkdir mydir mydir/DyC
cd mydir/DyC
cvs co .

You can then modify files in your own copy of the source tree independently of everyone else in the group. When you have changes that you think are ready to check in to the archive, follow the following procedure.

  1. E-mail spin-comp@cs to let everyone know which files you will commit, a summary of what the changes are, and whether everyone should check out the new version right away.
  2. cvs update your files and merge your changes with others in the archive
  3. Build and test your merged version if any files were changed during the update
  4. cvs commit the files you changed
  5. E-mail spin-comp@cs to let everyone know that you're done

The CVS man page should have most of the information you need to use CVS.

Building The Compiler

The compiler is in mflow. To build the compiler:

cd mflow
uac p 0
/projects/trace1/mflow/usr/vssad/bin/do_make

The results of the build will be in make.log.1. make.log.n accumulates the results of all builds.

Using Your Version of The Compiler

To be able to use your version of the compiler, you need to setup a link for scc:

cd /projects/trace1/mflow/usr/vssad/release
cp -R dcm mydir
cd lib
rm ccom
ln -s /afs/cs/project/dyncomp/mydir/DyC/mflow/ccom/ccom .

Make sure you use "cp -R", which copies symbolic links, and not "cp -r", which copies the files the links point to.

You can then run your own version with scc -v mydir ... (see the Multiflow Quick Start page).


Last updated August 22, 1996.
Brian Grant (grant@cs.washington.edu)