Installing and Building LEGO

Preparing to work with CVS under Eos/Unity

The first thing you need to do is make sure you are set up properly to use CVS. So, first things first, edit your .mycshrc file and add the following lines:

	add rcstools
	setenv CVSROOT /afs/eos/service/ece/research/tinker/tools/LEGO-2.0/cvsroot
	setenv CVSEDITOR /usr/bin/vi
	setenv CVSIGNORE "*.sl *.so *.d"

The first line will enable you to access all of the RCS and CVS tools necessary to do meaningful work with CVS. The second line sets the CVSROOT environment variable to point to the LEGO 2.0 CVS repository. The third line tells CVS what editor to invoke when it wants you to comment on the action you're taking. You may select any editor you are comfortable with. The final line tells CVS to ignore files ending in .sl, .so, and .d when checking out and commiting from/to the repository. Once you've taken care of this you may move on to the installation procedure itself.



LEGO Installation

Before installing LEGO you will want to run add tinker from the EOS command line. After you've done this, run the following command to install and build a local copy of the LEGO compiler: CutLEGORelease -build. If you would like to build LEGO manually you may run CutLEGORelease without the -build option.