Lecture of 9 September 1994
This page provides some of the things discussed in class on 9 September 1994.
Caveats
To be certain of correct compilation with the Cfront compiler, you
must force it to use the gnu c compiler as its back end.
This is accomplished by inserting the following code into the
.cshrc file in your home directory:
setenv ccC /local/bin/gcc
Example Makefile
contains rules that will allow you to create
an image algebra C++ program prog.c in your directory, then issue
the unix command:
make prog
The C++ compiler CC will be invoked with prog.c as its argument.
It leaves an executable copy in the file prog. This file may then
be invoked by executing the command:
./prog
Example boundary finding program
is a program that will find the boundary of objects in a
Viewing Images
You may view images like the one referenced
by this link
using Mosaic (as you just did if you clicked the URL reference) or
with the program xv. That is, you can issue the unix command:
xv file
to view an image stored in file.
This document is
copyright 1994
by Joseph N. Wilson.
$Id$