summaryrefslogtreecommitdiffstats
path: root/INSTALL
blob: 38c11f65eb6706a021715d76232066c25d508992 (plain) (blame)
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
51
52
53
HOW TO BUILD THE SSRL RTEMS-APPLICATIONS

$Id$

Till Straumann, 2008/10/3

***************************************************
THIS FILE HAS NOT BEEN WRITTEN YET, SORRY!

Some useful information regarding 'configure' options
can be found in cexp/INSTALL.

Basic instructions:

 - make sure PATH contains toolchain directory
 - mkdir build
 - chdir build
 - ../configure --with-rtems-top=/afs/slac/package/rtems/<version> \
                --prefix=/afs/slac/package/rtems/<version>
 - make
 - make install

This builds ssrlApps for all architectures/BSPs which are installed
under --with-rtems-top. The list of BSPs can be explicitly defined
using --with-rtemsbsp='bsp1 bsp2 bsp3 ...'.

The default installation path for binaries, libraries and includes is

 <prefix>/target/ssrlApps/<cpu>-rtems/<bsp>/bin
 <prefix>/target/ssrlApps/<cpu>-rtems/<bsp>/lib
 <prefix>/target/ssrlApps/<cpu>-rtems/<bsp>/include

but can be modified using the standard --exec-prefix, --libdir, --includedir
options (see 'configure' documentation and cexp/INSTALL).

Other useful options:

    --enable-std-rtems-installdirs
            Install directly into the RTEMS installation directories;
			by default a location *outside* of the standard location
			is used. If you don't use this option you can also fine-tune
			the installation using the usual --prefix, --exec-prefix,
			--libdir, --includedir etc. options. If you use this
			option '--prefix' & friends are effectively overridden.

	--with-hostbindir=<path>
			Where tools, i.e., programs that execute on the development
			platform are to be installed. Defaults to

			   PREFIX/host/${build_alias}/bin


***************************************************