README 984 Bytes
Newer Older
Götz Lindenmaier's avatar
Götz Lindenmaier committed
1
2
3
4

This is a library implementing the intermediate representation
FIRM developed at IPD Goos, Uni Karlsruhe.

Boris Boesler's avatar
Boris Boesler committed
5
6
7
8
Create an architecture dependent directory (eg 'mkdir i686-linux') an cd
to it. Call ../configure with wanted features (see ../configure --help
for more hints). Call 'make depend; make' to construct the library. This
creates a file libfirm.a
Götz Lindenmaier's avatar
Götz Lindenmaier committed
9
10
11
12

To test the library goto ./testprograms and make and run the
test examples placed there:

Boris Boesler's avatar
Boris Boesler committed
13
make depend; make
Götz Lindenmaier's avatar
Götz Lindenmaier committed
14
15
16
17
cd testprograms
make
make run

Götz Lindenmaier's avatar
Götz Lindenmaier committed
18
19
20
21
22
If you have set up the include and libdir using configure you can install
the library and its headers by 'make install'.  This is encouraged if the
library is hooked up to any other modules, e.g., a front end.  Only the
external headers are guaranteed to remain stable, the implementation might
change.
Boris Boesler's avatar
Boris Boesler committed
23

Götz Lindenmaier's avatar
Götz Lindenmaier committed
24
25
26
For more documentation see /include/firm.h.
To generate FIRM code from a compiler frontend read the documentation
in ./include/ircons.h.
27
About Firm you can learn in UKA tech-report 1999-44.