git @ Cat's Eye Technologies OpenZz / 3cfaa22
Add build.sh, and update README to explain why I did that. Cat's Eye Technologies 12 years ago
3 changed file(s) with 74 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
00 /Makefile
1 /configure
12 /config.*
23 /doc/Makefile
34 /doc/src/Makefile
56 /src/Makefile
67 /stamp-h
78 /testsuite/Makefile
9 /autom4te.cache
810 libozz.la
911 libozzi.la
1012 libtagdtor.la
0 This is a fork of the original OpenZz distribution. The original README
1 follows after the first line of equals signs in this file.
2
3 This fork was made because development on OpenZz was stalled, I have a
4 project which requires it ( http://catseye.tc/node/Zzrk.html ), and I
5 needed to make changes to the sources to get them to build on the latest
6 version of gcc.
7
8 Shortly thereafter, upgrades to (apparently) libtool(?) caused automake
9 to generate Makefiles which went into infinite loops at the shell level
10 (`pstree` showed what looked like an infinite tree of `sed` and `bash`)
11 which would take down my laptop quite readily.
12
13 So, I added a simple script `build.sh` to build the `ozz` executable
14 directly, without messing around with libraries or anything. It works
15 on Ubuntu, and will (I'm sure) work on other flavours of Linux with only
16 minor modifications.
17
18 Running `build.sh` is recommended. Run `autogen.sh` and `configure` at
19 your own risk.
20
21 -Chris
22
23 ===============================================================================
024 Zz - Dynamic Lexical Parser README File
125 ===============================================================================
226
3 Zz is a dynamic parser which is currently being developed as a front end to gcc to implement compilation of new languages (ie. TAO and others), for APE systems. These are custom build parallel processing computers used for LQCD physics research.
27 Zz is a dynamic parser which is currently being developed as a front end to
28 gcc to implement compilation of new languages (ie. TAO and others), for APE
29 systems. These are custom build parallel processing computers used for LQCD
30 physics research.
431
532 See:
633 http://chimera.roma1.infn.it/ape.html
1239
1340 LICENSE
1441 The Zz library is released under the GNU Lesser GPL (LGPL).
15 Parts of Zz are released under the GPL - see the "COPYING" file in the project root.
42 Parts of Zz are released under the GPL - see the "COPYING" file in the
43 project root.
1644
1745 DOCUMENTATION
1846 See the "doc" subdirectory
1947
2048 APE
21 Whence the name "APE"? "Ape" is the Italian word for "bee", the mascot of the APE project. (INFN, the funder of the project is based in Italy and the software is primarily developed there).
49 Whence the name "APE"? "Ape" is the Italian word for "bee", the mascot of
50 the APE project. (INFN, the funder of the project is based in Italy and the
51 software is primarily developed there).
0 #!/bin/sh -x
1
2 cd src
3
4 SOURCES="
5 action
6 avl
7 defopen
8 dumpnet
9 err
10 interface
11 kernel
12 lazy
13 list
14 param
15 parse
16 printz
17 rule
18 scope
19 source
20 sys
21 table
22 util
23 zkernel
24 zlex
25 zsys
26 zz
27 zzi
28 "
29
30 OBJECTS=""
31 for SOURCE in $SOURCES; do
32 gcc -DVERSION='"1.0.4"' -c $SOURCE.c -o $SOURCE.o || exit 1
33 OBJECTS="$OBJECTS $SOURCE.o"
34 done
35
36 gcc $OBJECTS -o ozz -ldl -lreadline
37
38 cd ..