Remote changes at Fri Aug 25 14:23:05 EDT 2017 by chuan on vivaldi

This commit is contained in:
Chuan Chen 2017-08-25 14:23:05 -04:00
parent 87aaa13bfd
commit 2aaa1667ac
17 changed files with 6914 additions and 358 deletions

1236
database/database.h Normal file

File diff suppressed because it is too large Load Diff

View File

@ -50,7 +50,7 @@ AR = ar
ARFLAGS = crv
LINK = ld -r
LD = /usr/bin/ld
M4 = @M4@
M4 = /usr/bin/m4
RANLIB = ranlib
SHDLIB_EXT = .so
LDDL_FLAGS = ${LDFLAGS} -shared -Wl,-soname,$@ -Wl,--version-script=${MAGICDIR}/magic/symbol.map
@ -59,14 +59,14 @@ LIB_SPECS = -L/usr/lib/x86_64-linux-gnu -ltk8.6 -L/usr/lib/x86_64-linux-
WISH_EXE = /usr/bin/wish
TCL_LIB_DIR = /usr/lib
MAGIC_VERSION = 8.2
MAGIC_REVISION = 12
MAGIC_REVISION = 15
CC = gcc
CPP = /scripts/preproc.py
CXX = g++
CPPFLAGS = -I. -I${MAGICDIR}
DFLAGS = -DCAD_DIR=\"${LIBDIR}\" -DBIN_DIR=\"${BINDIR}\" -DTCL_DIR=\"${TCLDIR}\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"12\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DX11_BACKING_STORE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DNDEBUG -DGCORE=\"/usr/bin/gcore\"
DFLAGS = -DCAD_DIR=\"${LIBDIR}\" -DBIN_DIR=\"${BINDIR}\" -DTCL_DIR=\"${TCLDIR}\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"15\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DX11_BACKING_STORE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DNDEBUG -DGCORE=\"/usr/bin/gcore\"
DFLAGS += -DSHDLIB_EXT=\".so\"
CFLAGS = -g -m64 -fPIC -Wimplicit-int -fPIC -I/usr/include/tcl8.6/tk-private/generic -I/usr/include/tcl8.6

216
install.log Normal file
View File

@ -0,0 +1,216 @@
make[1]: Entering directory `/home/chuan/Desktop/magic-8.2'
./scripts/mkdirs /home/chuan/Desktop/magic_install/bin /home/chuan/Desktop/magic_install/share/man \
/home/chuan/Desktop/magic_install/lib/magic/sys /home/chuan/Desktop/magic_install/lib/magic/tcl /home/chuan/Desktop/magic_install/lib/magic/tcl/bitmaps
for dir in windows doc scmos graphics tcltk magic net2ir tcltk; do \
(cd $dir && make install-tcl); done
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/windows'
--- installing glyphs to /home/chuan/Desktop/magic_install/lib/magic/sys
for i in windows7.glyphs windows11.glyphs windows14.glyphs windows22.glyphs vfont.B.12 vfont.I.12 vfont.R.8; do \
(cd /home/chuan/Desktop/magic_install/lib/magic/sys && rm -f $i); \
cp $i /home/chuan/Desktop/magic_install/lib/magic/sys; done
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/windows'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/doc'
cd latexfiles && make install
make[3]: Entering directory `/home/chuan/Desktop/magic-8.2/doc/latexfiles'
../../scripts/mkdirs /home/chuan/Desktop/magic_install/lib/magic/doc
cp ../psfiles/tut1.ps /home/chuan/Desktop/magic_install/lib/magic/doc/tut1.ps
cp ../psfiles/tut2.ps /home/chuan/Desktop/magic_install/lib/magic/doc/tut2.ps
cp ../psfiles/tut3.ps /home/chuan/Desktop/magic_install/lib/magic/doc/tut3.ps
cp ../psfiles/tut4.ps /home/chuan/Desktop/magic_install/lib/magic/doc/tut4.ps
cp ../psfiles/tut5.ps /home/chuan/Desktop/magic_install/lib/magic/doc/tut5.ps
cp ../psfiles/tut6.ps /home/chuan/Desktop/magic_install/lib/magic/doc/tut6.ps
cp ../psfiles/tut7.ps /home/chuan/Desktop/magic_install/lib/magic/doc/tut7.ps
cp ../psfiles/tut8.ps /home/chuan/Desktop/magic_install/lib/magic/doc/tut8.ps
cp ../psfiles/tut9.ps /home/chuan/Desktop/magic_install/lib/magic/doc/tut9.ps
cp ../psfiles/tut10.ps /home/chuan/Desktop/magic_install/lib/magic/doc/tut10.ps
cp ../psfiles/tut11.ps /home/chuan/Desktop/magic_install/lib/magic/doc/tut11.ps
cp ../psfiles/maint1.ps /home/chuan/Desktop/magic_install/lib/magic/doc/maint1.ps
cp ../psfiles/maint2.ps /home/chuan/Desktop/magic_install/lib/magic/doc/maint2.ps
cp ../psfiles/maint3.ps /home/chuan/Desktop/magic_install/lib/magic/doc/maint3.ps
cp ../psfiles/maint4.ps /home/chuan/Desktop/magic_install/lib/magic/doc/maint4.ps
cp ../psfiles/introduction.ps /home/chuan/Desktop/magic_install/lib/magic/doc/introduction.ps
cp ../psfiles/copyright.ps /home/chuan/Desktop/magic_install/lib/magic/doc/copyright.ps
cp ../psfiles/addendum6_5.ps /home/chuan/Desktop/magic_install/lib/magic/doc/addendum6_5.ps
cp ../psfiles/tutscm1.ps /home/chuan/Desktop/magic_install/lib/magic/doc/tutscm1.ps
cp ../psfiles/tutscm2.ps /home/chuan/Desktop/magic_install/lib/magic/doc/tutscm2.ps
cp ../psfiles/tutscm3.ps /home/chuan/Desktop/magic_install/lib/magic/doc/tutscm3.ps
cp ../psfiles/tutscm4.ps /home/chuan/Desktop/magic_install/lib/magic/doc/tutscm4.ps
cp ../psfiles/tuttcl1.ps /home/chuan/Desktop/magic_install/lib/magic/doc/tuttcl1.ps
cp ../psfiles/tuttcl2.ps /home/chuan/Desktop/magic_install/lib/magic/doc/tuttcl2.ps
cp ../psfiles/tuttcl3.ps /home/chuan/Desktop/magic_install/lib/magic/doc/tuttcl3.ps
cp ../psfiles/tuttcl4.ps /home/chuan/Desktop/magic_install/lib/magic/doc/tuttcl4.ps
cp ../psfiles/tuttcl5.ps /home/chuan/Desktop/magic_install/lib/magic/doc/tuttcl5.ps
cp ../psfiles/tutwrl1.ps /home/chuan/Desktop/magic_install/lib/magic/doc/tutwrl1.ps
make[3]: Leaving directory `/home/chuan/Desktop/magic-8.2/doc/latexfiles'
cd man && make install
make[3]: Entering directory `/home/chuan/Desktop/magic-8.2/doc/man'
../../scripts/mkdirs /home/chuan/Desktop/magic_install/share/man/man1
cp ext2spice.1 /home/chuan/Desktop/magic_install/share/man/man1/ext2spice.1
cp extcheck.1 /home/chuan/Desktop/magic_install/share/man/man1/extcheck.1
cp ext2sim.1 /home/chuan/Desktop/magic_install/share/man/man1/ext2sim.1
cp cmap.5 /home/chuan/Desktop/magic_install/share/man/man5/cmap.5
cp displays.5 /home/chuan/Desktop/magic_install/share/man/man5/displays.5
cp dlys.5 /home/chuan/Desktop/magic_install/share/man/man5/dlys.5
cp dstyle.5 /home/chuan/Desktop/magic_install/share/man/man5/dstyle.5
cp ext.5 /home/chuan/Desktop/magic_install/share/man/man5/ext.5
cp glyphs.5 /home/chuan/Desktop/magic_install/share/man/man5/glyphs.5
cp mag.5 /home/chuan/Desktop/magic_install/share/man/man5/mag.5
cp net.5 /home/chuan/Desktop/magic_install/share/man/man5/net.5
make[3]: Leaving directory `/home/chuan/Desktop/magic-8.2/doc/man'
cd tutcells && make install
make[3]: Entering directory `/home/chuan/Desktop/magic-8.2/doc/tutcells'
../../scripts/mkdirs /home/chuan/Desktop/magic_install/lib/magic/tutorial
cp m3a.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/m3a.mag
cp maint2a.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/maint2a.mag
cp tut1.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut1.mag
cp tut2a.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut2a.mag
cp tut2b.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut2b.mag
cp tut2c.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut2c.mag
cp tut2d.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut2d.mag
cp tut3a.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut3a.mag
cp tut3b.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut3b.mag
cp tut3c.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut3c.mag
cp tut3d.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut3d.mag
cp tut3e.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut3e.mag
cp tut3f.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut3f.mag
cp tut3g.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut3g.mag
cp tut3h.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut3h.mag
cp tut4a.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut4a.mag
cp tut4x.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut4x.mag
cp tut4y.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut4y.mag
cp tut4z.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut4z.mag
cp tut5a.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut5a.mag
cp tut5b.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut5b.mag
cp tut6a.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut6a.mag
cp tut6b.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut6b.mag
cp tut6c.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut6c.mag
cp tut6x.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut6x.mag
cp tut6y.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut6y.mag
cp tut7a.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut7a.mag
cp tut7b.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut7b.mag
cp tut7b.net /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut7b.net
cp tut7c.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut7c.mag
cp tut7d.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut7d.mag
cp tut7d.net /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut7d.net
cp tut8a.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut8a.mag
cp tut8b.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut8b.mag
cp tut8c.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut8c.mag
cp tut8d.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut8d.mag
cp tut8e.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut8e.mag
cp tut8f.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut8f.mag
cp tut8g.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut8g.mag
cp tut8h.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut8h.mag
cp tut8i.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut8i.mag
cp tut8j.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut8j.mag
cp tut8k.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut8k.mag
cp tut8l.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut8l.mag
cp tut8m.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut8m.mag
cp tut8n.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut8n.mag
cp tut8r.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut8r.mag
cp tut9a.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut9a.mag
cp tut9b.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut9b.mag
cp tut9x.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut9x.mag
cp tut9y.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut9y.mag
cp tut11a.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut11a.mag
cp tut11b.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut11b.mag
cp tut11c.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut11c.mag
cp tut11d.mag /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut11d.mag
cp tut11a.al /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut11a.al
cp tut11a.cmd /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut11a.cmd
cp tut11a.ext /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut11a.ext
cp tut11a.nodes /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut11a.nodes
cp tut11a.sim /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut11a.sim
cp tut11b.ext /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut11b.ext
cp tut11c.ext /home/chuan/Desktop/magic_install/lib/magic/tutorial/tut11c.ext
make[3]: Leaving directory `/home/chuan/Desktop/magic-8.2/doc/tutcells'
cd html && make install
make[3]: Entering directory `/home/chuan/Desktop/magic-8.2/doc/html'
tar cf - . | (cd /home/chuan/Desktop/magic_install/lib/magic/doc/html; tar xf - )
make[3]: Leaving directory `/home/chuan/Desktop/magic-8.2/doc/html'
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/doc'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/scmos'
cd cif_template; make clean; make;
make[3]: Entering directory `/home/chuan/Desktop/magic-8.2/scmos/cif_template'
rm -f objs/CIFin objs/CIFout objs/IBMCIFin objs/IBMCIFout objs/TMCIFin \
objs/TMCIFout objs/SUBCIFin objs/SUBCIFout
make[3]: Leaving directory `/home/chuan/Desktop/magic-8.2/scmos/cif_template'
make[3]: Entering directory `/home/chuan/Desktop/magic-8.2/scmos/cif_template'
rm -f objs/CIFin
/scripts/preproc.py -DSTANDARD cifin.c | sed -e "s/\\\\/\\\\\\\\/" -e "/^#/D" -e "s/(gen )/(gen)/" -e "s/(nowell )/(nowell)/" -e "s/(nwell )/(nwell)/" -e "s/(pwell )/(pwell)/" > objs/CIFin
rm -f objs/CIFout
/scripts/preproc.py -DSTANDARD cifout.c | sed -e "s/\\\\/\\\\\\\\/" -e "/^#/D" -e "s/(gen )/(gen)/" -e "s/(nowell )/(nowell)/" -e "s/(nwell )/(nwell)/" -e "s/(pwell )/(pwell)/" > objs/CIFout
rm -f objs/IBMCIFin
/scripts/preproc.py -DIBM cifin.c | sed -e "s/\\\\/\\\\\\\\/" -e "/^#/D" -e "s/(gen )/(gen)/" -e "s/(nowell )/(nowell)/" -e "s/(nwell )/(nwell)/" -e "s/(pwell )/(pwell)/" > objs/IBMCIFin
rm -f objs/IBMCIFout
/scripts/preproc.py -DIBM cifout.c | sed -e "s/\\\\/\\\\\\\\/" -e "/^#/D" -e "s/(gen )/(gen)/" -e "s/(nowell )/(nowell)/" -e "s/(nwell )/(nwell)/" -e "s/(pwell )/(pwell)/" > objs/IBMCIFout
rm -f objs/TMCIFin
/scripts/preproc.py -DTIGHTMETAL cifin.c | sed -e "s/\\\\/\\\\\\\\/" -e "/^#/D" -e "s/(gen )/(gen)/" -e "s/(nowell )/(nowell)/" -e "s/(nwell )/(nwell)/" -e "s/(pwell )/(pwell)/" > objs/TMCIFin
rm -f objs/TMCIFout
/scripts/preproc.py -DTIGHTMETAL cifout.c | sed -e "s/\\\\/\\\\\\\\/" -e "/^#/D" -e "s/(gen )/(gen)/" -e "s/(nowell )/(nowell)/" -e "s/(nwell )/(nwell)/" -e "s/(pwell )/(pwell)/" > objs/TMCIFout
rm -f objs/SUBCIFin
/scripts/preproc.py -DSUBMICRON cifin.c | sed -e "s/\\\\/\\\\\\\\/" -e "/^#/D" -e "s/(gen )/(gen)/" -e "s/(nowell )/(nowell)/" -e "s/(nwell )/(nwell)/" -e "s/(pwell )/(pwell)/" > objs/SUBCIFin
rm -f objs/SUBCIFout
/scripts/preproc.py -DSUBMICRON cifout.c | sed -e "s/\\\\/\\\\\\\\/" -e "/^#/D" -e "s/(gen )/(gen)/" -e "s/(nowell )/(nowell)/" -e "s/(nwell )/(nwell)/" -e "s/(pwell )/(pwell)/" > objs/SUBCIFout
make[3]: Leaving directory `/home/chuan/Desktop/magic-8.2/scmos/cif_template'
/usr/bin/m4 minimum.tech.in > minimum.tech
/usr/bin/m4 gdsquery.tech.in > gdsquery.tech
sed -e 's/\\/\\\\/' scmos.tech.in > scmos.tech.out
/scripts/preproc.py -I./extract_template -DV5 -DSTANDARD scmos.tech.out > scmos.tech
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/scmos'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/graphics'
for i in bw.glyphs color.glyphs; do \
rm -f /home/chuan/Desktop/magic_install/lib/magic/sys/$i; \
cp $i /home/chuan/Desktop/magic_install/lib/magic/sys; done
for i in FreeSerif.pt3 FreeSans.pt3 FreeMono.pt3; do \
rm -f /home/chuan/Desktop/magic_install/lib/magic/sys/$i; \
cp $i /home/chuan/Desktop/magic_install/lib/magic/sys; done
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/graphics'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/tcltk'
rm -f /home/chuan/Desktop/magic_install/bin/magic.sh /home/chuan/Desktop/magic_install/bin/magic
cp magic.sh /home/chuan/Desktop/magic_install/bin/magic
(cd /home/chuan/Desktop/magic_install/bin; chmod 0755 magic)
rm -f /home/chuan/Desktop/magic_install/bin/ext2spice
cp ext2spice.sh /home/chuan/Desktop/magic_install/bin/ext2spice
(cd /home/chuan/Desktop/magic_install/bin; chmod 0755 ext2spice)
rm -f /home/chuan/Desktop/magic_install/bin/ext2sim
cp ext2sim.sh /home/chuan/Desktop/magic_install/bin/ext2sim
(cd /home/chuan/Desktop/magic_install/bin; chmod 0755 ext2sim)
rm -f /home/chuan/Desktop/magic_install/lib/magic/tcl/magicexec
cp magicexec /home/chuan/Desktop/magic_install/lib/magic/tcl/magicexec
rm -f /home/chuan/Desktop/magic_install/lib/magic/tcl/magicdnull
cp magicdnull /home/chuan/Desktop/magic_install/lib/magic/tcl/magicdnull
(cd /home/chuan/Desktop/magic_install/lib/magic/tcl; rm -f tkcon.tcl tkshell.tcl wrapper.tcl console.tcl techbuilder.tcl cellmgr.tcl libmgr.tcl texthelper.tcl tools.tcl mazeroute.tcl strip_reflibs.tcl drc.tcl toolkit.tcl toolkit_rev0.tcl bsitools.tcl socketcmd.tcl magic.tcl)
for i in tkcon.tcl tkshell.tcl wrapper.tcl console.tcl techbuilder.tcl cellmgr.tcl libmgr.tcl texthelper.tcl tools.tcl mazeroute.tcl strip_reflibs.tcl drc.tcl toolkit.tcl toolkit_rev0.tcl bsitools.tcl socketcmd.tcl magic.tcl; do \
cp $i /home/chuan/Desktop/magic_install/lib/magic/tcl; done
(cd /home/chuan/Desktop/magic_install/lib/magic/tcl; chmod 0755 tkcon.tcl tkshell.tcl)
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/tcltk'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/magic'
rm -f /home/chuan/Desktop/magic_install/lib/magic/tcl/tclmagic.so
cp tclmagic.so /home/chuan/Desktop/magic_install/lib/magic/tcl/tclmagic.so
rm -f /home/chuan/Desktop/magic_install/lib/magic/sys/.magicrc
cp proto.magicrc /home/chuan/Desktop/magic_install/lib/magic/sys/.magicrc
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/magic'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/net2ir'
echo "Nothing to do here"
Nothing to do here
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/net2ir'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/tcltk'
rm -f /home/chuan/Desktop/magic_install/bin/magic.sh /home/chuan/Desktop/magic_install/bin/magic
cp magic.sh /home/chuan/Desktop/magic_install/bin/magic
(cd /home/chuan/Desktop/magic_install/bin; chmod 0755 magic)
rm -f /home/chuan/Desktop/magic_install/bin/ext2spice
cp ext2spice.sh /home/chuan/Desktop/magic_install/bin/ext2spice
(cd /home/chuan/Desktop/magic_install/bin; chmod 0755 ext2spice)
rm -f /home/chuan/Desktop/magic_install/bin/ext2sim
cp ext2sim.sh /home/chuan/Desktop/magic_install/bin/ext2sim
(cd /home/chuan/Desktop/magic_install/bin; chmod 0755 ext2sim)
rm -f /home/chuan/Desktop/magic_install/lib/magic/tcl/magicexec
cp magicexec /home/chuan/Desktop/magic_install/lib/magic/tcl/magicexec
rm -f /home/chuan/Desktop/magic_install/lib/magic/tcl/magicdnull
cp magicdnull /home/chuan/Desktop/magic_install/lib/magic/tcl/magicdnull
(cd /home/chuan/Desktop/magic_install/lib/magic/tcl; rm -f tkcon.tcl tkshell.tcl wrapper.tcl console.tcl techbuilder.tcl cellmgr.tcl libmgr.tcl texthelper.tcl tools.tcl mazeroute.tcl strip_reflibs.tcl drc.tcl toolkit.tcl toolkit_rev0.tcl bsitools.tcl socketcmd.tcl magic.tcl)
for i in tkcon.tcl tkshell.tcl wrapper.tcl console.tcl techbuilder.tcl cellmgr.tcl libmgr.tcl texthelper.tcl tools.tcl mazeroute.tcl strip_reflibs.tcl drc.tcl toolkit.tcl toolkit_rev0.tcl bsitools.tcl socketcmd.tcl magic.tcl; do \
cp $i /home/chuan/Desktop/magic_install/lib/magic/tcl; done
(cd /home/chuan/Desktop/magic_install/lib/magic/tcl; chmod 0755 tkcon.tcl tkshell.tcl)
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/tcltk'
make[1]: Leaving directory `/home/chuan/Desktop/magic-8.2'

0
magic/proto.magicrc Normal file
View File

1253
make.log Normal file

File diff suppressed because it is too large Load Diff

1
readline/readline Symbolic link
View File

@ -0,0 +1 @@
readline-4.3

59
scmos/gdsquery.tech Normal file
View File

@ -0,0 +1,59 @@
tech
format 28
gdsquery
end
version
version 0.1
description "Minimal technology file for querying an unknown GDS database"
end
planes
end
types
end
contact
end
styles
styletype mos
end
compose
end
connect
end
cifoutput
style generic
scalefactor 1
end
cifinput
style generic
scalefactor 1
end
# mzrouter
# end
drc
end
extract
end
# wiring
# end
# router
# end
# plowing
# end
# plot
# end

55
scmos/minimum.tech Normal file
View File

@ -0,0 +1,55 @@
tech
format 28
minimum
end
version
version 0.0
description "Minimum technology file structure"
end
planes
end
types
end
contact
end
styles
styletype mos
end
compose
end
connect
end
cifoutput
end
cifinput
end
# mzrouter
# end
drc
end
extract
end
# wiring
# end
# router
# end
# plowing
# end
# plot
# end

0
scmos/scmos.tech Normal file
View File

3256
scmos/scmos.tech.out Normal file

File diff suppressed because it is too large Load Diff

View File

@ -41,24 +41,24 @@ PATH: /usr/local/games
## Core tests. ##
## ----------- ##
configure:2481: checking build system type
configure:2495: result: x86_64-unknown-linux-gnu
configure:2515: checking host system type
configure:2528: result: x86_64-unknown-linux-gnu
configure:2548: checking target system type
configure:2561: result: x86_64-unknown-linux-gnu
configure:2653: checking for gcc
configure:2669: found /usr/bin/gcc
configure:2680: result: gcc
configure:2909: checking for C compiler version
configure:2918: gcc --version >&5
configure:2482: checking build system type
configure:2496: result: x86_64-unknown-linux-gnu
configure:2516: checking host system type
configure:2529: result: x86_64-unknown-linux-gnu
configure:2549: checking target system type
configure:2562: result: x86_64-unknown-linux-gnu
configure:2654: checking for gcc
configure:2670: found /usr/bin/gcc
configure:2681: result: gcc
configure:2910: checking for C compiler version
configure:2919: gcc --version >&5
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2929: $? = 0
configure:2918: gcc -v >&5
configure:2930: $? = 0
configure:2919: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
@ -66,58 +66,58 @@ Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.4-2ubuntu1~14.04.3' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
configure:2929: $? = 0
configure:2918: gcc -V >&5
configure:2930: $? = 0
configure:2919: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2929: $? = 4
configure:2918: gcc -qversion >&5
configure:2930: $? = 4
configure:2919: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:2929: $? = 4
configure:2949: checking whether the C compiler works
configure:2971: gcc -g conftest.c >&5
configure:2975: $? = 0
configure:3023: result: yes
configure:3026: checking for C compiler default output file name
configure:3028: result: a.out
configure:3034: checking for suffix of executables
configure:3041: gcc -o conftest -g conftest.c >&5
configure:3045: $? = 0
configure:3067: result:
configure:3089: checking whether we are cross compiling
configure:3097: gcc -o conftest -g conftest.c >&5
configure:3101: $? = 0
configure:3108: ./conftest
configure:3112: $? = 0
configure:3127: result: no
configure:3132: checking for suffix of object files
configure:3154: gcc -c -g conftest.c >&5
configure:3158: $? = 0
configure:3179: result: o
configure:3183: checking whether we are using the GNU C compiler
configure:3202: gcc -c -g conftest.c >&5
configure:3202: $? = 0
configure:3211: result: yes
configure:3220: checking whether gcc accepts -g
configure:3240: gcc -c -g conftest.c >&5
configure:3240: $? = 0
configure:3281: result: yes
configure:3298: checking for gcc option to accept ISO C89
configure:3361: gcc -c -g conftest.c >&5
configure:3361: $? = 0
configure:3374: result: none needed
configure:3399: checking how to run the C preprocessor
configure:3430: gcc -E conftest.c
configure:3430: $? = 0
configure:3444: gcc -E conftest.c
configure:2930: $? = 4
configure:2950: checking whether the C compiler works
configure:2972: gcc -g conftest.c >&5
configure:2976: $? = 0
configure:3024: result: yes
configure:3027: checking for C compiler default output file name
configure:3029: result: a.out
configure:3035: checking for suffix of executables
configure:3042: gcc -o conftest -g conftest.c >&5
configure:3046: $? = 0
configure:3068: result:
configure:3090: checking whether we are cross compiling
configure:3098: gcc -o conftest -g conftest.c >&5
configure:3102: $? = 0
configure:3109: ./conftest
configure:3113: $? = 0
configure:3128: result: no
configure:3133: checking for suffix of object files
configure:3155: gcc -c -g conftest.c >&5
configure:3159: $? = 0
configure:3180: result: o
configure:3184: checking whether we are using the GNU C compiler
configure:3203: gcc -c -g conftest.c >&5
configure:3203: $? = 0
configure:3212: result: yes
configure:3221: checking whether gcc accepts -g
configure:3241: gcc -c -g conftest.c >&5
configure:3241: $? = 0
configure:3282: result: yes
configure:3299: checking for gcc option to accept ISO C89
configure:3362: gcc -c -g conftest.c >&5
configure:3362: $? = 0
configure:3375: result: none needed
configure:3400: checking how to run the C preprocessor
configure:3431: gcc -E conftest.c
configure:3431: $? = 0
configure:3445: gcc -E conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
configure:3444: $? = 1
configure:3445: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
@ -127,18 +127,18 @@ configure: failed program was:
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAGIC_VERSION "8.2"
| #define MAGIC_REVISION "12"
| #define MAGIC_REVISION "15"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3469: result: gcc -E
configure:3489: gcc -E conftest.c
configure:3489: $? = 0
configure:3503: gcc -E conftest.c
configure:3470: result: gcc -E
configure:3490: gcc -E conftest.c
configure:3490: $? = 0
configure:3504: gcc -E conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
configure:3503: $? = 1
configure:3504: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
@ -148,21 +148,21 @@ configure: failed program was:
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAGIC_VERSION "8.2"
| #define MAGIC_REVISION "12"
| #define MAGIC_REVISION "15"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3589: checking for g++
configure:3605: found /usr/bin/g++
configure:3616: result: g++
configure:3643: checking for C++ compiler version
configure:3652: g++ --version >&5
configure:3590: checking for g++
configure:3606: found /usr/bin/g++
configure:3617: result: g++
configure:3644: checking for C++ compiler version
configure:3653: g++ --version >&5
g++ (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3663: $? = 0
configure:3652: g++ -v >&5
configure:3664: $? = 0
configure:3653: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
@ -170,113 +170,120 @@ Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.4-2ubuntu1~14.04.3' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
configure:3663: $? = 0
configure:3652: g++ -V >&5
configure:3664: $? = 0
configure:3653: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:3663: $? = 4
configure:3652: g++ -qversion >&5
configure:3664: $? = 4
configure:3653: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'
g++: fatal error: no input files
compilation terminated.
configure:3663: $? = 4
configure:3667: checking whether we are using the GNU C++ compiler
configure:3686: g++ -c conftest.cpp >&5
configure:3686: $? = 0
configure:3695: result: yes
configure:3704: checking whether g++ accepts -g
configure:3724: g++ -c -g conftest.cpp >&5
configure:3724: $? = 0
configure:3765: result: yes
configure:3789: checking for library containing strerror
configure:3820: gcc -o conftest -g conftest.c >&5
configure:3820: $? = 0
configure:3837: result: none required
configure:3859: checking for a BSD-compatible install
configure:3927: result: /usr/bin/install -c
configure:3981: checking for ranlib
configure:3997: found /usr/bin/ranlib
configure:4008: result: ranlib
configure:4033: checking for python3
configure:4051: found /usr/bin/python3
configure:4064: result: /usr/bin/python3
configure:4103: checking for ld used by GCC
configure:4166: result: /usr/bin/ld
configure:4173: checking if the linker (/usr/bin/ld) is GNU ld
configure:3664: $? = 4
configure:3668: checking whether we are using the GNU C++ compiler
configure:3687: g++ -c conftest.cpp >&5
configure:3687: $? = 0
configure:3696: result: yes
configure:3705: checking whether g++ accepts -g
configure:3725: g++ -c -g conftest.cpp >&5
configure:3725: $? = 0
configure:3766: result: yes
configure:3790: checking for library containing strerror
configure:3821: gcc -o conftest -g conftest.c >&5
configure:3821: $? = 0
configure:3838: result: none required
configure:3860: checking for a BSD-compatible install
configure:3928: result: /usr/bin/install -c
configure:3982: checking for ranlib
configure:3998: found /usr/bin/ranlib
configure:4009: result: ranlib
configure:4036: checking for gm4
configure:4069: result: no
configure:4036: checking for gnum4
configure:4069: result: no
configure:4036: checking for m4
configure:4054: found /usr/bin/m4
configure:4066: result: /usr/bin/m4
configure:4084: checking for python3
configure:4102: found /usr/bin/python3
configure:4115: result: /usr/bin/python3
configure:4154: checking for ld used by GCC
configure:4217: result: /usr/bin/ld
configure:4224: checking if the linker (/usr/bin/ld) is GNU ld
GNU ld (GNU Binutils for Ubuntu) 2.24
configure:4185: result: yes
configure:4192: checking for grep that handles long lines and -e
configure:4250: result: /bin/grep
configure:4255: checking for egrep
configure:4317: result: /bin/grep -E
configure:4322: checking for ANSI C header files
configure:4342: gcc -c -g conftest.c >&5
configure:4342: $? = 0
./configure: line 4356: /scripts/preproc.py: No such file or directory
configure:4426: result: no
configure:4439: checking for sys/types.h
configure:4439: gcc -c -g conftest.c >&5
configure:4439: $? = 0
configure:4439: result: yes
configure:4439: checking for sys/stat.h
configure:4439: gcc -c -g conftest.c >&5
configure:4439: $? = 0
configure:4439: result: yes
configure:4439: checking for stdlib.h
configure:4439: gcc -c -g conftest.c >&5
configure:4439: $? = 0
configure:4439: result: yes
configure:4439: checking for string.h
configure:4439: gcc -c -g conftest.c >&5
configure:4439: $? = 0
configure:4439: result: yes
configure:4439: checking for memory.h
configure:4439: gcc -c -g conftest.c >&5
configure:4439: $? = 0
configure:4439: result: yes
configure:4439: checking for strings.h
configure:4439: gcc -c -g conftest.c >&5
configure:4439: $? = 0
configure:4439: result: yes
configure:4439: checking for inttypes.h
configure:4439: gcc -c -g conftest.c >&5
configure:4439: $? = 0
configure:4439: result: yes
configure:4439: checking for stdint.h
configure:4439: gcc -c -g conftest.c >&5
configure:4439: $? = 0
configure:4439: result: yes
configure:4439: checking for unistd.h
configure:4439: gcc -c -g conftest.c >&5
configure:4439: $? = 0
configure:4439: result: yes
configure:4455: checking size of void *
configure:4460: gcc -o conftest -g conftest.c >&5
configure:4460: $? = 0
configure:4460: ./conftest
configure:4460: $? = 0
configure:4474: result: 8
configure:4488: checking size of unsigned int
configure:4493: gcc -o conftest -g conftest.c >&5
configure:4493: $? = 0
configure:4493: ./conftest
configure:4493: $? = 0
configure:4507: result: 4
configure:4521: checking size of unsigned long
configure:4526: gcc -o conftest -g conftest.c >&5
configure:4526: $? = 0
configure:4526: ./conftest
configure:4526: $? = 0
configure:4540: result: 8
configure:4554: checking size of unsigned long long
configure:4559: gcc -o conftest -g conftest.c >&5
configure:4559: $? = 0
configure:4559: ./conftest
configure:4559: $? = 0
configure:4573: result: 8
configure:4584: checking whether byte ordering is bigendian
configure:4599: gcc -c -g conftest.c >&5
configure:4236: result: yes
configure:4243: checking for grep that handles long lines and -e
configure:4301: result: /bin/grep
configure:4306: checking for egrep
configure:4368: result: /bin/grep -E
configure:4373: checking for ANSI C header files
configure:4393: gcc -c -g conftest.c >&5
configure:4393: $? = 0
./configure: line 4407: /scripts/preproc.py: No such file or directory
configure:4477: result: no
configure:4490: checking for sys/types.h
configure:4490: gcc -c -g conftest.c >&5
configure:4490: $? = 0
configure:4490: result: yes
configure:4490: checking for sys/stat.h
configure:4490: gcc -c -g conftest.c >&5
configure:4490: $? = 0
configure:4490: result: yes
configure:4490: checking for stdlib.h
configure:4490: gcc -c -g conftest.c >&5
configure:4490: $? = 0
configure:4490: result: yes
configure:4490: checking for string.h
configure:4490: gcc -c -g conftest.c >&5
configure:4490: $? = 0
configure:4490: result: yes
configure:4490: checking for memory.h
configure:4490: gcc -c -g conftest.c >&5
configure:4490: $? = 0
configure:4490: result: yes
configure:4490: checking for strings.h
configure:4490: gcc -c -g conftest.c >&5
configure:4490: $? = 0
configure:4490: result: yes
configure:4490: checking for inttypes.h
configure:4490: gcc -c -g conftest.c >&5
configure:4490: $? = 0
configure:4490: result: yes
configure:4490: checking for stdint.h
configure:4490: gcc -c -g conftest.c >&5
configure:4490: $? = 0
configure:4490: result: yes
configure:4490: checking for unistd.h
configure:4490: gcc -c -g conftest.c >&5
configure:4490: $? = 0
configure:4490: result: yes
configure:4506: checking size of void *
configure:4511: gcc -o conftest -g conftest.c >&5
configure:4511: $? = 0
configure:4511: ./conftest
configure:4511: $? = 0
configure:4525: result: 8
configure:4539: checking size of unsigned int
configure:4544: gcc -o conftest -g conftest.c >&5
configure:4544: $? = 0
configure:4544: ./conftest
configure:4544: $? = 0
configure:4558: result: 4
configure:4572: checking size of unsigned long
configure:4577: gcc -o conftest -g conftest.c >&5
configure:4577: $? = 0
configure:4577: ./conftest
configure:4577: $? = 0
configure:4591: result: 8
configure:4605: checking size of unsigned long long
configure:4610: gcc -o conftest -g conftest.c >&5
configure:4610: $? = 0
configure:4610: ./conftest
configure:4610: $? = 0
configure:4624: result: 8
configure:4635: checking whether byte ordering is bigendian
configure:4650: gcc -c -g conftest.c >&5
conftest.c:25:9: error: unknown type name 'not'
not a universal capable compiler
^
@ -284,7 +291,7 @@ conftest.c:25:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before
not a universal capable compiler
^
conftest.c:25:15: error: unknown type name 'universal'
configure:4599: $? = 1
configure:4650: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
@ -294,7 +301,7 @@ configure: failed program was:
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAGIC_VERSION "8.2"
| #define MAGIC_REVISION "12"
| #define MAGIC_REVISION "15"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
@ -314,9 +321,9 @@ configure: failed program was:
| #endif
| typedef int dummy;
|
configure:4644: gcc -c -g conftest.c >&5
configure:4644: $? = 0
configure:4662: gcc -c -g conftest.c >&5
configure:4695: gcc -c -g conftest.c >&5
configure:4695: $? = 0
configure:4713: gcc -c -g conftest.c >&5
conftest.c: In function 'main':
conftest.c:31:4: error: unknown type name 'not'
not big endian
@ -324,7 +331,7 @@ conftest.c:31:4: error: unknown type name 'not'
conftest.c:31:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
not big endian
^
configure:4662: $? = 1
configure:4713: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
@ -334,7 +341,7 @@ configure: failed program was:
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAGIC_VERSION "8.2"
| #define MAGIC_REVISION "12"
| #define MAGIC_REVISION "15"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
@ -362,29 +369,29 @@ configure: failed program was:
| ;
| return 0;
| }
configure:4790: result: no
configure:4809: checking for ANSI C header files
configure:4913: result: no
configure:4925: checking for setenv
configure:4925: gcc -o conftest -g conftest.c >&5
configure:4925: $? = 0
configure:4925: result: yes
configure:4925: checking for putenv
configure:4925: gcc -o conftest -g conftest.c >&5
configure:4925: $? = 0
configure:4925: result: yes
configure:4935: checking for vfork
configure:4935: gcc -o conftest -g conftest.c >&5
configure:4935: $? = 0
configure:4935: result: yes
configure:4943: checking sys/mman.h usability
configure:4943: gcc -c -g conftest.c >&5
configure:4943: $? = 0
configure:4943: result: yes
configure:4943: checking sys/mman.h presence
configure:4943: /scripts/preproc.py conftest.c
./configure: line 1576: /scripts/preproc.py: No such file or directory
configure:4943: $? = 127
configure:4841: result: no
configure:4860: checking for ANSI C header files
configure:4964: result: no
configure:4976: checking for setenv
configure:4976: gcc -o conftest -g conftest.c >&5
configure:4976: $? = 0
configure:4976: result: yes
configure:4976: checking for putenv
configure:4976: gcc -o conftest -g conftest.c >&5
configure:4976: $? = 0
configure:4976: result: yes
configure:4986: checking for vfork
configure:4986: gcc -o conftest -g conftest.c >&5
configure:4986: $? = 0
configure:4986: result: yes
configure:4994: checking sys/mman.h usability
configure:4994: gcc -c -g conftest.c >&5
configure:4994: $? = 0
configure:4994: result: yes
configure:4994: checking sys/mman.h presence
configure:4994: /scripts/preproc.py conftest.c
./configure: line 1577: /scripts/preproc.py: No such file or directory
configure:4994: $? = 127
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
@ -394,7 +401,7 @@ configure: failed program was:
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAGIC_VERSION "8.2"
| #define MAGIC_REVISION "12"
| #define MAGIC_REVISION "15"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
@ -412,19 +419,19 @@ configure: failed program was:
| #define HAVE_PUTENV 1
| /* end confdefs.h. */
| #include <sys/mman.h>
configure:4943: result: no
configure:4943: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!
configure:4943: WARNING: sys/mman.h: proceeding with the compiler's result
configure:4943: checking for sys/mman.h
configure:4943: result: yes
configure:4956: checking dirent.h usability
configure:4956: gcc -c -g conftest.c >&5
configure:4956: $? = 0
configure:4956: result: yes
configure:4956: checking dirent.h presence
configure:4956: /scripts/preproc.py conftest.c
./configure: line 1576: /scripts/preproc.py: No such file or directory
configure:4956: $? = 127
configure:4994: result: no
configure:4994: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!
configure:4994: WARNING: sys/mman.h: proceeding with the compiler's result
configure:4994: checking for sys/mman.h
configure:4994: result: yes
configure:5007: checking dirent.h usability
configure:5007: gcc -c -g conftest.c >&5
configure:5007: $? = 0
configure:5007: result: yes
configure:5007: checking dirent.h presence
configure:5007: /scripts/preproc.py conftest.c
./configure: line 1577: /scripts/preproc.py: No such file or directory
configure:5007: $? = 127
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
@ -434,7 +441,7 @@ configure: failed program was:
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAGIC_VERSION "8.2"
| #define MAGIC_REVISION "12"
| #define MAGIC_REVISION "15"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
@ -453,19 +460,19 @@ configure: failed program was:
| #define HAVE_SYS_MMAN_H 1
| /* end confdefs.h. */
| #include <dirent.h>
configure:4956: result: no
configure:4956: WARNING: dirent.h: accepted by the compiler, rejected by the preprocessor!
configure:4956: WARNING: dirent.h: proceeding with the compiler's result
configure:4956: checking for dirent.h
configure:4956: result: yes
configure:4969: checking limits.h usability
configure:4969: gcc -c -g conftest.c >&5
configure:4969: $? = 0
configure:4969: result: yes
configure:4969: checking limits.h presence
configure:4969: /scripts/preproc.py conftest.c
./configure: line 1576: /scripts/preproc.py: No such file or directory
configure:4969: $? = 127
configure:5007: result: no
configure:5007: WARNING: dirent.h: accepted by the compiler, rejected by the preprocessor!
configure:5007: WARNING: dirent.h: proceeding with the compiler's result
configure:5007: checking for dirent.h
configure:5007: result: yes
configure:5020: checking limits.h usability
configure:5020: gcc -c -g conftest.c >&5
configure:5020: $? = 0
configure:5020: result: yes
configure:5020: checking limits.h presence
configure:5020: /scripts/preproc.py conftest.c
./configure: line 1577: /scripts/preproc.py: No such file or directory
configure:5020: $? = 127
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
@ -475,7 +482,7 @@ configure: failed program was:
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAGIC_VERSION "8.2"
| #define MAGIC_REVISION "12"
| #define MAGIC_REVISION "15"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
@ -495,18 +502,18 @@ configure: failed program was:
| #define HAVE_DIRENT_H 1
| /* end confdefs.h. */
| #include <limits.h>
configure:4969: result: no
configure:4969: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!
configure:4969: WARNING: limits.h: proceeding with the compiler's result
configure:4969: checking for limits.h
configure:4969: result: yes
configure:4982: checking param.h usability
configure:4982: gcc -c -g conftest.c >&5
configure:5020: result: no
configure:5020: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!
configure:5020: WARNING: limits.h: proceeding with the compiler's result
configure:5020: checking for limits.h
configure:5020: result: yes
configure:5033: checking param.h usability
configure:5033: gcc -c -g conftest.c >&5
conftest.c:62:19: fatal error: param.h: No such file or directory
#include <param.h>
^
compilation terminated.
configure:4982: $? = 1
configure:5033: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
@ -516,7 +523,7 @@ configure: failed program was:
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAGIC_VERSION "8.2"
| #define MAGIC_REVISION "12"
| #define MAGIC_REVISION "15"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
@ -570,11 +577,11 @@ configure: failed program was:
| # include <unistd.h>
| #endif
| #include <param.h>
configure:4982: result: no
configure:4982: checking param.h presence
configure:4982: /scripts/preproc.py conftest.c
./configure: line 1576: /scripts/preproc.py: No such file or directory
configure:4982: $? = 127
configure:5033: result: no
configure:5033: checking param.h presence
configure:5033: /scripts/preproc.py conftest.c
./configure: line 1577: /scripts/preproc.py: No such file or directory
configure:5033: $? = 127
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
@ -584,7 +591,7 @@ configure: failed program was:
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAGIC_VERSION "8.2"
| #define MAGIC_REVISION "12"
| #define MAGIC_REVISION "15"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
@ -605,17 +612,17 @@ configure: failed program was:
| #define HAVE_LIMITS_H 1
| /* end confdefs.h. */
| #include <param.h>
configure:4982: result: no
configure:4982: checking for param.h
configure:4982: result: no
configure:4995: checking paths.h usability
configure:4995: gcc -c -g conftest.c >&5
configure:4995: $? = 0
configure:4995: result: yes
configure:4995: checking paths.h presence
configure:4995: /scripts/preproc.py conftest.c
./configure: line 1576: /scripts/preproc.py: No such file or directory
configure:4995: $? = 127
configure:5033: result: no
configure:5033: checking for param.h
configure:5033: result: no
configure:5046: checking paths.h usability
configure:5046: gcc -c -g conftest.c >&5
configure:5046: $? = 0
configure:5046: result: yes
configure:5046: checking paths.h presence
configure:5046: /scripts/preproc.py conftest.c
./configure: line 1577: /scripts/preproc.py: No such file or directory
configure:5046: $? = 127
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
@ -625,7 +632,7 @@ configure: failed program was:
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAGIC_VERSION "8.2"
| #define MAGIC_REVISION "12"
| #define MAGIC_REVISION "15"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
@ -646,29 +653,29 @@ configure: failed program was:
| #define HAVE_LIMITS_H 1
| /* end confdefs.h. */
| #include <paths.h>
configure:4995: result: no
configure:4995: WARNING: paths.h: accepted by the compiler, rejected by the preprocessor!
configure:4995: WARNING: paths.h: proceeding with the compiler's result
configure:4995: checking for paths.h
configure:4995: result: yes
configure:5006: checking for va_copy
configure:5024: gcc -o conftest -g conftest.c >&5
configure:5024: $? = 0
configure:5033: result: yes
configure:5041: checking for __va_copy
configure:5059: gcc -o conftest -g conftest.c >&5
configure:5059: $? = 0
configure:5068: result: yes
configure:5283: checking for gcore
configure:5301: found /usr/bin/gcore
configure:5314: result: /usr/bin/gcore
configure:5326: checking for csh
configure:5344: found /bin/csh
configure:5357: result: /bin/csh
configure:5371: checking for X
configure:5479: /scripts/preproc.py conftest.c
./configure: line 1576: /scripts/preproc.py: No such file or directory
configure:5479: $? = 127
configure:5046: result: no
configure:5046: WARNING: paths.h: accepted by the compiler, rejected by the preprocessor!
configure:5046: WARNING: paths.h: proceeding with the compiler's result
configure:5046: checking for paths.h
configure:5046: result: yes
configure:5057: checking for va_copy
configure:5075: gcc -o conftest -g conftest.c >&5
configure:5075: $? = 0
configure:5084: result: yes
configure:5092: checking for __va_copy
configure:5110: gcc -o conftest -g conftest.c >&5
configure:5110: $? = 0
configure:5119: result: yes
configure:5334: checking for gcore
configure:5352: found /usr/bin/gcore
configure:5365: result: /usr/bin/gcore
configure:5377: checking for csh
configure:5395: found /bin/csh
configure:5408: result: /bin/csh
configure:5422: checking for X
configure:5530: /scripts/preproc.py conftest.c
./configure: line 1577: /scripts/preproc.py: No such file or directory
configure:5530: $? = 127
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
@ -678,7 +685,7 @@ configure: failed program was:
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAGIC_VERSION "8.2"
| #define MAGIC_REVISION "12"
| #define MAGIC_REVISION "15"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
@ -702,36 +709,36 @@ configure: failed program was:
| #define HAVE___VA_COPY 1
| /* end confdefs.h. */
| #include <X11/Xlib.h>
configure:5510: gcc -o conftest -g conftest.c -lX11 >&5
configure:5510: $? = 0
configure:5560: result: libraries , headers /usr/include
configure:5659: gcc -o conftest -g conftest.c -lX11 >&5
configure:5659: $? = 0
configure:5757: checking for gethostbyname
configure:5757: gcc -o conftest -g conftest.c >&5
configure:5757: $? = 0
configure:5757: result: yes
configure:5854: checking for connect
configure:5854: gcc -o conftest -g conftest.c >&5
configure:5854: $? = 0
configure:5854: result: yes
configure:5903: checking for remove
configure:5903: gcc -o conftest -g conftest.c >&5
configure:5903: $? = 0
configure:5903: result: yes
configure:5952: checking for shmat
configure:5952: gcc -o conftest -g conftest.c >&5
configure:5952: $? = 0
configure:5952: result: yes
configure:6010: checking for IceConnectionNumber in -lICE
configure:6035: gcc -o conftest -g conftest.c -lICE >&5
configure:6035: $? = 0
configure:6044: result: yes
configure:6080: checking for XOpenDevice in -lXi
configure:6105: gcc -o conftest -g conftest.c -lXi >&5
configure:5561: gcc -o conftest -g conftest.c -lX11 >&5
configure:5561: $? = 0
configure:5611: result: libraries , headers /usr/include
configure:5710: gcc -o conftest -g conftest.c -lX11 >&5
configure:5710: $? = 0
configure:5808: checking for gethostbyname
configure:5808: gcc -o conftest -g conftest.c >&5
configure:5808: $? = 0
configure:5808: result: yes
configure:5905: checking for connect
configure:5905: gcc -o conftest -g conftest.c >&5
configure:5905: $? = 0
configure:5905: result: yes
configure:5954: checking for remove
configure:5954: gcc -o conftest -g conftest.c >&5
configure:5954: $? = 0
configure:5954: result: yes
configure:6003: checking for shmat
configure:6003: gcc -o conftest -g conftest.c >&5
configure:6003: $? = 0
configure:6003: result: yes
configure:6061: checking for IceConnectionNumber in -lICE
configure:6086: gcc -o conftest -g conftest.c -lICE >&5
configure:6086: $? = 0
configure:6095: result: yes
configure:6131: checking for XOpenDevice in -lXi
configure:6156: gcc -o conftest -g conftest.c -lXi >&5
/usr/bin/ld: cannot find -lXi
collect2: error: ld returned 1 exit status
configure:6105: $? = 1
configure:6156: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
@ -741,7 +748,7 @@ configure: failed program was:
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAGIC_VERSION "8.2"
| #define MAGIC_REVISION "12"
| #define MAGIC_REVISION "15"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
@ -779,12 +786,12 @@ configure: failed program was:
| ;
| return 0;
| }
configure:6114: result: no
configure:6120: checking for XmuInternAtom in -lXmu
configure:6145: gcc -o conftest -g conftest.c -lXmu >&5
configure:6165: result: no
configure:6171: checking for XmuInternAtom in -lXmu
configure:6196: gcc -o conftest -g conftest.c -lXmu >&5
/usr/bin/ld: cannot find -lXmu
collect2: error: ld returned 1 exit status
configure:6145: $? = 1
configure:6196: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
@ -794,7 +801,7 @@ configure: failed program was:
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAGIC_VERSION "8.2"
| #define MAGIC_REVISION "12"
| #define MAGIC_REVISION "15"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
@ -832,27 +839,27 @@ configure: failed program was:
| ;
| return 0;
| }
configure:6154: result: no
configure:6160: checking for XextFindDisplay in -lXext
configure:6185: gcc -o conftest -g conftest.c -lXext >&5
configure:6185: $? = 0
configure:6194: result: yes
configure:6274: checking for tclConfig.sh
configure:6348: result: /usr/lib/tcl8.6/tclConfig.sh
configure:6364: checking for tkConfig.sh
configure:6437: result: /usr/lib/tk8.6/tkConfig.sh
configure:6571: checking for wish executable
configure:6599: result: /usr/bin/wish
configure:6605: checking for tclsh executable
configure:6631: result: /usr/bin/tclsh
configure:7489: checking cairo/cairo.h usability
configure:7489: gcc -c -g -I/usr/include conftest.c >&5
configure:7489: $? = 0
configure:7489: result: yes
configure:7489: checking cairo/cairo.h presence
configure:7489: /scripts/preproc.py -I/usr/include conftest.c
./configure: line 1576: /scripts/preproc.py: No such file or directory
configure:7489: $? = 127
configure:6205: result: no
configure:6211: checking for XextFindDisplay in -lXext
configure:6236: gcc -o conftest -g conftest.c -lXext >&5
configure:6236: $? = 0
configure:6245: result: yes
configure:6325: checking for tclConfig.sh
configure:6399: result: /usr/lib/tcl8.6/tclConfig.sh
configure:6415: checking for tkConfig.sh
configure:6488: result: /usr/lib/tk8.6/tkConfig.sh
configure:6622: checking for wish executable
configure:6650: result: /usr/bin/wish
configure:6656: checking for tclsh executable
configure:6682: result: /usr/bin/tclsh
configure:7540: checking cairo/cairo.h usability
configure:7540: gcc -c -g -I/usr/include conftest.c >&5
configure:7540: $? = 0
configure:7540: result: yes
configure:7540: checking cairo/cairo.h presence
configure:7540: /scripts/preproc.py -I/usr/include conftest.c
./configure: line 1577: /scripts/preproc.py: No such file or directory
configure:7540: $? = 127
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
@ -862,7 +869,7 @@ configure: failed program was:
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAGIC_VERSION "8.2"
| #define MAGIC_REVISION "12"
| #define MAGIC_REVISION "15"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
@ -895,16 +902,16 @@ configure: failed program was:
| #define VECTOR_FONTS 1
| /* end confdefs.h. */
| #include <cairo/cairo.h>
configure:7489: result: no
configure:7489: WARNING: cairo/cairo.h: accepted by the compiler, rejected by the preprocessor!
configure:7489: WARNING: cairo/cairo.h: proceeding with the compiler's result
configure:7489: checking for cairo/cairo.h
configure:7489: result: yes
configure:7507: checking for cairo_user_to_device in -lcairo
configure:7532: gcc -o conftest -g -lm conftest.c -lcairo >&5
configure:7532: $? = 0
configure:7541: result: yes
configure:8320: creating ./config.status
configure:7540: result: no
configure:7540: WARNING: cairo/cairo.h: accepted by the compiler, rejected by the preprocessor!
configure:7540: WARNING: cairo/cairo.h: proceeding with the compiler's result
configure:7540: checking for cairo/cairo.h
configure:7540: result: yes
configure:7558: checking for cairo_user_to_device in -lcairo
configure:7583: gcc -o conftest -g -lm conftest.c -lcairo >&5
configure:7583: $? = 0
configure:7592: result: yes
configure:8371: creating ./config.status
## ---------------------- ##
## Running config.status. ##
@ -921,8 +928,8 @@ generated by GNU Autoconf 2.69. Invocation command line was
on ubuntu
config.status:796: creating defs.mak
config.status:899: WARNING: 'defs.mak.in' seems to ignore the --datarootdir setting
config.status:797: creating defs.mak
config.status:900: WARNING: 'defs.mak.in' seems to ignore the --datarootdir setting
## ---------------- ##
## Cache variables. ##
@ -996,6 +1003,7 @@ ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GCORE=/usr/bin/gcore
ac_cv_path_GREP=/bin/grep
ac_cv_path_LD=/usr/bin/ld
ac_cv_path_M4=/usr/bin/m4
ac_cv_path_PYTHON3=/usr/bin/python3
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_CPP='gcc -E'
@ -1025,7 +1033,7 @@ CPPFLAGS=''
CSH='/bin/csh'
CXX='g++'
CXXFLAGS='-g -O2'
DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"12\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DX11_BACKING_STORE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -Dlinux=1 -DSYSV=1 -DISC=1'
DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"15\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DX11_BACKING_STORE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -Dlinux=1 -DSYSV=1 -DISC=1'
DEPEND_FLAG='-MM'
ECHO_C=''
ECHO_N='printf'
@ -1048,7 +1056,8 @@ LIBOBJS=''
LIBS='-lcairo '
LIB_SPECS=' -L/usr/lib/x86_64-linux-gnu -ltk8.6 -L/usr/lib/x86_64-linux-gnu -ltcl8.6'
LTLIBOBJS=''
MAGIC_REVISION='12'
M4='/usr/bin/m4'
MAGIC_REVISION='15'
MAGIC_VERSION='8.2'
OA=''
OA_LIBS=''
@ -1147,7 +1156,7 @@ unused=' readline lisp'
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define MAGIC_VERSION "8.2"
#define MAGIC_REVISION "12"
#define MAGIC_REVISION "15"
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1

View File

@ -588,7 +588,7 @@ S["INSTALL_TARGET"]="install-tcl"
S["ALL_TARGET"]="tcl"
S["OA_LIBS"]=""
S["OA"]=""
S["MAGIC_REVISION"]="12"
S["MAGIC_REVISION"]="15"
S["MAGIC_VERSION"]="8.2"
S["LD_RUN_PATH"]=""
S["SHLIB_CFLAGS"]="-Wimplicit-int -fPIC"
@ -636,6 +636,7 @@ S["GCORE"]="/usr/bin/gcore"
S["EGREP"]="/bin/grep -E"
S["GREP"]="/bin/grep"
S["PYTHON3"]="/usr/bin/python3"
S["M4"]="/usr/bin/m4"
S["RANLIB"]="ranlib"
S["INSTALL_DATA"]="${INSTALL} -m 644"
S["INSTALL_SCRIPT"]="${INSTALL}"
@ -671,7 +672,7 @@ S["ECHO_T"]=""
S["ECHO_N"]="-n"
S["ECHO_C"]=""
S["DEFS"]="-DPACKAGE_NAME=\\\"\\\" -DPACKAGE_TARNAME=\\\"\\\" -DPACKAGE_VERSION=\\\"\\\" -DPACKAGE_STRING=\\\"\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DPACKAGE_URL=\\\"\\\" -DMAGIC_VERSION="\
"\\\"8.2\\\" -DMAGIC_REVISION=\\\"12\\\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -D"\
"\\\"8.2\\\" -DMAGIC_REVISION=\\\"15\\\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -D"\
"HAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG"\
"=8 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFI"\
"LE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DX11_BACKING_STORE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DVECTOR_FONTS=1"\

View File

@ -50,7 +50,7 @@ AR = ar
ARFLAGS = crv
LINK = ld -r
LD = /usr/bin/ld
M4 = @M4@
M4 = /usr/bin/m4
RANLIB = ranlib
SHDLIB_EXT = .so
LDDL_FLAGS = ${LDFLAGS} -shared -Wl,-soname,$@ -Wl,--version-script=${MAGICDIR}/magic/symbol.map
@ -59,14 +59,14 @@ LIB_SPECS = -L/usr/lib/x86_64-linux-gnu -ltk8.6 -L/usr/lib/x86_64-linux-
WISH_EXE = /usr/bin/wish
TCL_LIB_DIR = /usr/lib
MAGIC_VERSION = 8.2
MAGIC_REVISION = 12
MAGIC_REVISION = 15
CC = gcc
CPP = /scripts/preproc.py
CXX = g++
CPPFLAGS = -I. -I${MAGICDIR}
DFLAGS = -DCAD_DIR=\"${LIBDIR}\" -DBIN_DIR=\"${BINDIR}\" -DTCL_DIR=\"${TCLDIR}\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"12\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DX11_BACKING_STORE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DNDEBUG -DGCORE=\"/usr/bin/gcore\"
DFLAGS = -DCAD_DIR=\"${LIBDIR}\" -DBIN_DIR=\"${BINDIR}\" -DTCL_DIR=\"${TCLDIR}\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"15\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DX11_BACKING_STORE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DNDEBUG -DGCORE=\"/usr/bin/gcore\"
DFLAGS += -DSHDLIB_EXT=\".so\"
CFLAGS = -g -m64 -fPIC -Wimplicit-int -fPIC -I/usr/include/tcl8.6/tk-private/generic -I/usr/include/tcl8.6

64
tcltk/magic.sh Normal file
View File

@ -0,0 +1,64 @@
#!/bin/bash
#
# For installation, put this file (magic.sh) in a known executable path.
# Put startup script "magic.tcl", shared library "tclmagic.so", and
# "wish" replacement "magicexec" in ${CAD_ROOT}/magic/tcl/.
#
# This script starts magic under the Tcl interpreter,
# reading commands from a special startup script which
# launches magic and retains the Tcl interactive interpreter.
# Parse for the argument "-c[onsole]". If it exists, run magic
# with the TkCon console. Strip this argument from the argument list.
TKCON=true
DNULL=
MAGIC_WISH=/usr/bin/wish
export MAGIC_WISH
# Hacks for Cygwin
if [ "`uname | cut -d_ -f1`" = "CYGWIN" ]; then
export PATH="$PATH:/usr/lib"
export DISPLAY=${DISPLAY:=":0"}
fi
# Preserve quotes in arguments
arglist=''
for i in "$@" ; do
case $i in
-noc*) TKCON=;;
-dnull) DNULL=true;;
--version) TKCON=; DNULL=true;;
--prefix) TKCON=; DNULL=true;;
*) arglist="$arglist${arglist:+ }\"${i//\"/\\\"}\"";;
esac
done
if [ $TKCON ]; then
if [ $DNULL ]; then
exec /home/chuan/Desktop/magic_install/lib/magic/tcl/tkcon.tcl -eval "source /home/chuan/Desktop/magic_install/lib/magic/tcl/console.tcl" \
-slave "set argc $#; set argv [list $*]; source /home/chuan/Desktop/magic_install/lib/magic/tcl/magic.tcl"
else
exec /home/chuan/Desktop/magic_install/lib/magic/tcl/tkcon.tcl -eval "source /home/chuan/Desktop/magic_install/lib/magic/tcl/console.tcl" \
-slave "package require Tk; set argc $#; set argv [list $arglist]; \
source /home/chuan/Desktop/magic_install/lib/magic/tcl/magic.tcl"
fi
else
#
# Run the stand-in for wish (magicexec), which acts exactly like "wish"
# except that it replaces ~/.wishrc with magic.tcl. This executable is
# *only* needed when running without the console; the console itself is
# capable of sourcing the startup script.
#
# With option "-dnull" we set up for operation without Tk (simple interpreter
# only, efficient for running in batch mode).
#
if [ $DNULL ]; then
exec /home/chuan/Desktop/magic_install/lib/magic/tcl/magicdnull -nowrapper "$@"
else
exec /home/chuan/Desktop/magic_install/lib/magic/tcl/magicexec -- "$@"
fi
fi

406
tcltk/magic.tcl Normal file
View File

@ -0,0 +1,406 @@
# Wishrc startup for ToolScript (magic)
#
# For installation: Put this file and also magicwrap.so into
# directory /home/chuan/Desktop/magic_install/lib/magic/tcl, and set the "load" line below
# to point to the location of magicwrap.so. Also see comments
# in shell script "magic.sh".
global Opts
# If we called magic via the non-console script, then we want to reset
# the environment variable HOME to its original value.
if {${tcl_version} >= 8.6} {
load -lazy /home/chuan/Desktop/magic_install/lib/magic/tcl/tclmagic.so
} else {
load /home/chuan/Desktop/magic_install/lib/magic/tcl/tclmagic.so
}
# It is important to make sure no magic commands overlap with Tcl built-in
# commands, because otherwise the namespace import will fail.
proc pushnamespace { name } {
set y [namespace eval ${name} info commands ::${name}::*]
set z [info commands]
# Watch especially for magic "wizard" commands, as we don't want to confuse
# the literal "*" with a regular expression *. "regsub" below takes care of it.
foreach v $y {
regsub -all {\*} $v {\\*} i
set x [namespace tail $i]
if {[lsearch $z $x] < 0} {
namespace import $i
}
}
}
proc popnamespace { name } {
set z [info commands]
set l [expr [string length ${name}] + 5]
while {[set v [lsearch $z ${name}_tcl_*]] >= 0} {
set y [lindex $z $v]
set w [string range $y $l end]
interp alias {} ::$w {}
rename ::$y ::$w
puts "Info: replacing ::$w with ::$y"
}
namespace forget ::${name}::*
}
#----------------------------------------------------------------------
# Define the drcstate procedure expected by the background DRC code.
proc magic::drcstate {option} {
# (Null proc---see wrapper.tcl for a useful version)
}
#-----------------------------------------------------------------
# Define these console routines so that they don't produce errors
# when Magic is run in batch mode
if {[catch {tkcon title}]} {
proc magic::suspendout {} {}
proc magic::resumeout {} {}
proc magic::dialog {} {}
proc magic::consolegeometry {} {}
proc magic::consolefocus {} {}
}
#----------------------------------------------------------------------
# Cross-Application section
#----------------------------------------------------------------------
# Check namespaces for existence of other applications
set UsingIRSIM 0
set UsingXCircuit 0
set UsingNetgen 0
set nlist [namespace children]
foreach i $nlist {
switch $i {
::irsim { set UsingIRSIM 1 }
::xcircuit { set UsingXCircuit 1 }
::netgen { set UsingNetgen 1 }
}
}
# Setup IRSIM assuming that the Tcl version is installed.
# We do not need to rename procedure irsim to NULL because it is
# redefined in a script, which simply overwrites the original.
proc irsim { args } {
global CAD_ROOT
set irsimscript [glob -nocomplain ${CAD_ROOT}/irsim/tcl/irsim.tcl]
if { ${irsimscript} == {} } {
puts stderr "\"irsim\" requires Tcl-based IRSIM version 9.6 or newer."
puts stderr "Could not find script \"irsim.tcl\". If IRSIM is installed in a"
puts stderr "place other than CAD_ROOT (=${CAD_ROOT}), use the command"
puts stderr "\"source <path>/irsim.tcl\" before doing \"irsim\"."
} else {
source $irsimscript
eval {irsim} $args
}
}
# Setup Xcircuit assuming that the Tcl version is installed.
proc xcircuit { args } {
global CAD_ROOT
global argc
global argv
set xcircscript [glob -nocomplain ${CAD_ROOT}/xcircuit*/xcircuit.tcl]
if { ${xcircscript} == {} } {
puts stderr "\"xcircuit\" requires Tcl-based XCircuit version 3.1 or newer."
puts stderr "Could not find script \"xcircuit.tcl\". If XCircuit is installed in a"
puts stderr "place other than CAD_ROOT (=${CAD_ROOT}), use the command"
puts stderr "\"source <path>/xcircuit.tcl\"."
} else {
# if there are multiple installed versions, choose the highest version.
if {[llength $xcircscript] > 1} {
set xcircscript [lindex [lsort -decreasing -dictionary $xcircscript] 0]
}
# execute script in the scope of magic, because its variable space is
# not modularized.
set argv $args
set argc [llength $args]
uplevel #0 source $xcircscript
}
}
# Setup Netgen assuming that the Tcl version is installed.
proc netgen { args } {
global CAD_ROOT
global argc
global argv
set netgenscript [glob -nocomplain ${CAD_ROOT}/netgen/tcl/netgen.tcl]
if { ${netgenscript} == {} } {
puts stderr "\"netgen\" requires Tcl-based Netgen version 1.2 or newer."
puts stderr "Could not find script \"netgen.tcl\". If Netgen is installed in a"
puts stderr "place other than CAD_ROOT (=${CAD_ROOT}), use the command"
puts stderr "\"source <path>/netgen.tcl\"."
} else {
set argv $args
set argc [llength $args]
uplevel #0 source $netgenscript
}
}
# Add the "echo" command
proc echo {args} {
puts stdout $args
}
# Parse argument list for "-c[onsole]" and "-now[rapper]".
set celllist {}
set do_wrapper true
set do_recover false
set argafter {magic::initialize}
set x {}
for {set i 0} {$i < $argc} {incr i 1} {
set x [lindex $argv $i]
#
# Command-line argument handling goes here
# We have to handle all of magic's command line arguments so we can
# figure out if a cell has been named for preloading.
#
switch -regexp -- $x {
^-now(rap)?(per)?$ { ;# This regexp accepts -now, -nowrap, and -nowrapper
set do_wrapper false
}
^-dnull {
set do_wrapper false
lappend argafter $x
}
^-r(e)?(cover)?$ {
set do_recover true
}
^-rc(file)?$ {
lappend argafter $x
incr i 1
lappend argafter [lindex $argv $i]
}
^-d -
^-g -
^-m -
^-i -
^-T {
lappend argafter $x
incr i 1
lappend argafter [lindex $argv $i]
}
^-F {
lappend argafter $x
incr i 1
lappend argafter [lindex $argv $i]
incr i 1
lappend argafter [lindex $argv $i]
}
^--version {
puts stdout "8.2.15"
exit 0
}
^--prefix {
puts stdout $CAD_ROOT
exit 0
}
^-D -
^-n* {
lappend argafter $x
}
default {
lappend celllist $x
lappend argafter $x
}
}
}
if {$do_wrapper} {
source ${CAD_ROOT}/magic/tcl/wrapper.tcl
lappend argafter "-nowindow" ;# Set no-initial-window option in magic.
}
unset x i do_wrapper
if {[catch {eval $argafter}]} { ;# magic::initialize ${argv}
exit 1
}
#----------------------------------------------------------------------
# Check for presence of padlist manager script and include it
if {[file exists ${CAD_ROOT}/magic/tcl/padlist.tcl]} {
source ${CAD_ROOT}/magic/tcl/padlist.tcl
set Opts(padlist) 0
}
#----------------------------------------------------------------------
# Check for presence of the miscellaneous tools script and include it
if {[file exists ${CAD_ROOT}/magic/tcl/tools.tcl]} {
source ${CAD_ROOT}/magic/tcl/tools.tcl
set Opts(tools) 0
}
#----------------------------------------------------------------------
# Check for presence of the mazerouter script and include it
if {[file exists ${CAD_ROOT}/magic/tcl/mazeroute.tcl]} {
source ${CAD_ROOT}/magic/tcl/mazeroute.tcl
set Opts(mazeroute) 0
}
#----------------------------------------------------------------------
# Check for presence of the toolkit script and include it
# NOTE: This supercedes the older toolkit which is now
# named toolkit_rev0.tcl, and the intermediate bsitools.tcl,
# which are folded into the newer toolkit.tcl.
if {[file exists ${CAD_ROOT}/magic/tcl/toolkit.tcl]} {
source ${CAD_ROOT}/magic/tcl/toolkit.tcl
set Opts(toolkit) 0
}
#----------------------------------------------------------------------
# Magic start function drops back to interpreter after initialization & setup
set auto_noexec 1 ;# don't EVER call UNIX commands w/o "shell" in front
# Have we called magic from tkcon or a clone thereof? If so, set MagicConsole
if {[lsearch [interp aliases] tkcon] != -1} {
set MagicConsole tkcon
catch {wm withdraw .}
# Get rid of some overlapping tkcon commands which are not needed.
if {[lsearch [info commands] orig_edit] < 0} {rename edit orig_edit}
if {[lsearch [info commands] orig_dump] < 0} {rename dump orig_dump}
if {[lsearch [info commands] orig_what] < 0} {rename what orig_what}
} else {
rename unknown tcl_unknown
proc unknown { args } {
# CAD tools special:
# Check for commands which were renamed to tcl_(command)
set cmd [lindex $args 0]
if {[lsearch [info commands] tcl_$cmd] >= 0} {
set arglist [concat tcl_$cmd [lrange $args 1 end]]
set ret [catch {eval $arglist} result]
if {$ret == 0} {
return $result
} else {
return -code $ret -errorcode $errorCode $result
}
}
return [eval [concat tcl_unknown $args]]
}
}
# Set up certain commands to act like they do in non-Tcl-based magic;
# These are the commands whose names have been extended so they don't
# conflict with existing Tcl/Tk commands. This renaming & importing
# *requires* the special code in the magic Tcl command dispatcher to
# find and deal with each of these renamed commands!
if {[lsearch [info commands] orig_clock] < 0} {rename clock orig_clock}
if {[lsearch [info commands] tcl_flush] < 0} {rename flush tcl_flush}
if {[lsearch [info commands] tcl_load] < 0} {rename load tcl_load}
if {[lsearch [info commands] tcl_array] < 0} {rename array tcl_array}
if {[lsearch [info commands] tcl_label] < 0} {catch {rename label tcl_label}}
if {[lsearch [info commands] tcl_grid] < 0} {catch {rename grid tcl_grid}}
namespace eval magic namespace export *
pushnamespace magic
#----------------------------------------------------------------------
# Read system startup files (mostly macro definitions)
# Read user startup file, if any
# Load initial cell, if any
magic::startup
if {![catch {set toptitle [wm title .]}]} {
if {[string range $toptitle 0 3] == "wish"} {
wm withdraw .
}
if {[string range $toptitle 0 8] == "magicexec"} {
wm withdraw .
}
unset toptitle
}
# After loading, magic will wander off and do a complete DRC check
# before executing the rest of the script unless we temporarily
# disable the DRC checker.
set drcstate [drc status]
drc off
# Initial window for wrapper, if defined.
# empty string is equivalent to passing NULL cell name.
#
# If a startup file has created a window, then don't make another one.
if {[info commands magic::openwrapper] != {}} {
if {[windownames layout] == {}} {
set winname [magic::openwrapper]
magic::techmanager initall
magic::scrollupdate $winname
foreach cellname $celllist {
set fext [file extension $cellname]
puts stdout "handling file entry $cellname extension $fext"
switch $fext {
.lef -
.LEF {lef read $cellname}
.def -
.DEF {def read $cellname}
.gds -
.GDS -
.gds2 -
.GDS2 -
.gdsii -
.GDSII {gds read $cellname}
.cif -
.CIF {cif read $cellname}
.tcl {source $cellname}
.mag -
"" {magic::load $cellname}
default {puts stderr "don't know how to load file $cellname"}
}
}
}
} else {
# Initial geometry handler for the default window, non-wrapper version
catch {wm geometry .magic1 ${Opts(geometry)}}
}
# Print the technology name and description
puts stdout "Using technology \"[tech name]\", version [lindex [tech version] 0]"
# Set a box, and set the view; if no cell has been loaded, choose a default
# view.
if {![box exists]} {
box 0 0 1 1 ;# create a unit box
}
if {[llength $celllist] > 0} {
view
} else {
view -9 -9 10 10
}
# The Tcl version handles the "-r" on the command line by calling
# command crash recover.
if {$do_recover} {crash recover}
# Unset global TCL variables so they don't conflict with magic nodes.
unset celllist nlist do_recover
if {$drcstate == 1} {
drc on
}
unset drcstate

BIN
tcltk/magicdnull Executable file

Binary file not shown.

BIN
tcltk/magicexec Executable file

Binary file not shown.