summaryrefslogtreecommitdiff
path: root/README.in
blob: 1e43b7a04e1088b42583c95a48370af7c5ab0531 (plain)
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
47
48
49
50
README for rt-app @VERSION@

==============
 INTRODUCTION
==============

rt-app is a test application that starts multiple periodic threads in order to 
simulate a real-time periodic load.

Code is currently maintained on GitHub:

	https://github.com/gbagnoli/rt-app


==============
 REQUIREMENTS
==============

rt-app runs on GNU/Linux. It needs autoconf, automake, libtool , json-c and
a recent compiler (mainly: gcc) for basic features.

=============
 COMPILATION
=============

$ autoreconf --install
$ ./configure
$ make
$ make install

Last step is optional, rt-app is generated in the src/ directory.

Typical usage:

$ ./configure --prefix=<directory>
	installs the compiled program in  the given directory

see ./configure --help for additional options.

For cross-compilation, you may have to set the CC environment variable to your
cross-compiler, and provide the --host option (e.g., --host=arm).

=======
 USAGE
=======

$ rt-app <config_file>
where config file is a full/relative path to a json file (look under doc/ for
examples config file) or "-" (without quotes) to read JSON data from stdin.