-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
45 lines (31 loc) · 1.83 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Welcome to the CodeGen, Inc. source-code tree. We're releasing a bunch
of our stuff under a license described in the file COPYRIGHT.
To quickly build most of the code, first create a symlink /cgt to
someplace such as /usr/local/cgt or wherever you'd like. The Makefiles
and scripts expect to install binaries, headers, and libs under /cgt.
Then run makeworld.sh in the top directory. This makes everything
execpt SmartFirmware (see below for how to build this).
Some of the stuff under the source-tree:
lib/aoa SmartAlloc - fast, efficient malloc() replacement
bin/of SmartFirmware - Open Firmware IEEE-1275 in C
(you'll also need zlib-1.1.4, which is not included)
bin/cc cc-fcode - C-to-Fcode compiler - see README-Fcode
(it needs a bunch of libs to build - use makeworld.sh)
bin/wacco wacco - why another compiler compiler
bin/domail mh-style command-line Bayesian spam filtering tools
Other misc libraries:
lib/integer arbitrary-precision integer C++ class library
lib/floatc arbitrary-precision IEEE floating point C++ class library
lib/cgt basic C++ funcs, generics (hashtables, dynarrays, etc)
lib/edit text-editor library
lib/*malloc different malloc algorithms - aoa is probably the best
Build SmartFirmware (bin/of) standalone/test version by:
cd bin/of/unix
make
This makes "of", which can be used to test, tokenize, and detokenize
Fcode. Build cc-fcode under bin/cc and copy both to /cgt/bin, then cd
to bin/of/fcode to build test and ethernet Fcode PCI ROM images there.
Standalone verions of SmartFirmware can also be built for x86 under
bin/of/i386 and AMD64 "Hammer" under bin/of/amd64. The amd64 build can
run from ROM only on the AMD Clawhammer evaluation board.
As for the rest, no warrantee is expressed nor implied. Good luck.