File: INSTALL

package info (click to toggle)
savant 20031216-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 14,816 kB
  • ctags: 12,177
  • sloc: cpp: 96,504; vhdl: 14,181; sh: 8,190; makefile: 1,652
file content (46 lines) | stat: -rw-r--r-- 2,063 bytes parent folder | download
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
46
The build system of SAVANT has been completely redone using gnu autotools for 
the 2.0 release.  Understanding how the autotools suite works at a high level
is useful for anyone interested in building SAVANT.

If you have downloaded savant from CVS, you need to do a "autoreconf -i"
after you download it.  This will create aclocal.m4, libtool, Makefile.ins
from the Makefile.ams, and a configure script.  If you downloaded a
released version, all of that stuff should already be there.

Once you have a "configure" script (either shipped with a distribution or
generated with the commands in the previous paragraph), you'll need to
configure SAVANT for building.  An example of configuration might be:
CXXFLAGS="-Wall -g" CPPFLAGS="-I~/include" LDFLAGS="-L~/lib" ./configure

Most options supported by modern autotools builds will be supported by the
configure script.  The main things you might need to set include include
paths (using CPPFLAGS), compiler flags (using CXXFLAGS) and linker flags
(using LDFLAGS).

You can ask for help with build problems at "savant-devel@cliftonlabs.com",
the developer's mailing list.  Bugs should be reported via bugzilla at
http://www.cliftonlabs.com/bugzilla.

The authors used the following versions of tools as of the writing of this
document:

flex	- version 2.5.4a (patched for correct generation of C++ - the
  debian version of the source works.)
g++	- version 2.95.4 20011002 (Debian prerelease)
antlr	- version 1.33MR32
clutils - prerelease, from Clifton Labs CVS:
cvs -d :pserver:anonymous@cliftonlabs.com:/usr/local/cvsroot co clutils

If you're running out of CVS, you'll need to build the build system.  This
requires autoconf >= 2.57, and automake >= 1.7.6.

In order to simulate VHDL, there are some more requirements.  Please see
the file "INSTALL-FOR-SIMULATION" for more info.

------------------------------------------------------------------------
SAVANT version 2.0 prerelease
Clifton Labs, Inc.
------------------------------------------------------------------------

Last Revised: October 10, 2002