
DECWRL 6.3 Magic for Linux (Use at your own risk!!)
^^^^^^^^^^^^^^^^^^^^^^^^^^

Here are the bin, lib, and man directories from my /usr/cad/magic-6.3
build tree.  I will eventually put together an extensive diff package
to facilitate rebuilds for others.  Since this is the first release of
the Linux port, please check its actions carefully against a reliable
reference standard *BEFORE* submitting to fab.

The following subset of compilation flags were used to achieve maximum
run-time speed:

	-O6 -g -fomit-frame-pointer -m486

On my 486DX2-66 Localbus machine I can extract a 3000 transistor tinychip
in about 45 seconds!

One of the problems I've had to workaround is what I call the "ortho"
problem in Intel/X11R5 graphics:  horizontal and vertical lines are not
drawn correctly in certain copy modes.  This problem also surfaced in the
Linux port of the Caltech Chipmunk VLSI CAD tools (send mail to
lazzaro@boom.cs.berkeley.edu for info).  Please let me know if you see
the slightest discrepancy between what you see under Linux vs. other plat-
forms.

The included technology files are from MOSIS via venera.isi.edu in
/pub/mosis/magic.  The scmos.tech is the penultimate one, as the current
scmos.tech package seems to be lacking the CIFin and CIFout templates.

Rebuilding tech files under Linux with Gnu cpp is not straightforward
due to a non-SunOS-cpp-like output format.  Here is my modified :techinstall
that works:

#! /bin/csh -f
# rcsid $Header: :techinstall,v 1.3 89/04/03 16:02:51 mayo Exp $
#
# Install a technology file for Linux/Gnu.
# Usage: csh :techinstall technology version targetdir
#
set technology=$1
set version=$2
set targetdir=$3
set tmpfile=/tmp/tech.$$
/lib/cpp -P $technology | sed 's/ *,/,/g' | sed 's/ *)/)/g' > $tmpfile
grep sccsid $technology | sed -e "s/^/# /" >> $tmpfile
grep rcsid $technology | sed -e "s/^/# /" >> $tmpfile
rm -f $targetdir/${technology}${version}
mv $tmpfile $targetdir/${technology}${version}


Feel free to send me questions and comments regarding this port.

-Harold Levy
 Caltech 128-95
 Pasadena, CA 91125
 har@caltech.edu

