[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

working ug parser and test program




[guys -- i've fixed and tested the build for libug.a and
ugtest.  instructions follow.  let me know if you have
problems getting this to work. -- prof. t.]

this library holds the unigrafix parser and a test program.
here are instructions for how to build it.  you can cut
and paste all of the indented lines below, directly into
your unix shell.

first, select or create a working directory and cd to it:

  mkdir UROP
  cd UROP

then set your environment variables:

  # ok to point here for make rules
  setenv MAKEPATH /d9/workspace/akropp/walkthru/makefiles

  # sgi architecture
  setenv CVSROOT /d9/projects
  setenv SYSTEM SYSTEM/E32M3
  setenv WALKTHRU `pwd`/walkthru
  setenv BASE $WALKTHRU
  setenv LIBPATH_WALKTHRU $WALKTHRU/$SYSTEM
  setenv CXX CC
  setenv CC  cc

to compile the libraries you'll need, do

  cvs checkout walkthru/local/include
  cvs checkout walkthru/src/{system,mat,ug}
  pushd walkthru/src/mat ; gmake ; popd
  pushd walkthru/src/ug ; gmake standalone ; popd

then to compile the test executable do

  cd walkthru/src/ug
  gmake ugtest

finally, to see it run, do

  ./ugtest csb5.macro.ug > foo.ug

and examine foo.ug