-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathINSTALL
114 lines (79 loc) · 3.68 KB
/
INSTALL
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
-------------------------------------------------------------------------------
JAMRouter: JACK <--> ALSA MIDI Router
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
MINIMUM REQUIREMENTS:
-------------------------------------------------------------------------------
Required:
* gcc-4.x
* alsa-0.9.0
* jack-0.99.0
Optional:
* LASH >= 0.5.4.
* libuuid (required by LASH).
-------------------------------------------------------------------------------
OBTAINING JAMRouter SOURCES:
-------------------------------------------------------------------------------
Currently, JAMRouter development sources are only available via git:
git clone https://github.com/williamweston/jamrouter.git
-------------------------------------------------------------------------------
COMPILING AND INSTALLING JAMRouter:
-------------------------------------------------------------------------------
Start in toplevel source directory:
cd jamrouter
When building JAMRouter from git sources, switching autoconf/automake
versions, or in any other situation where 'configure' is missing or
throwing errors, it may be necessary to rebuild all of the dynamically
generated build files:
aclocal
autoconf
automake
autoheader
JAMRouter uses the familiar autoconf/automake build system. For a list
of confguration options, run './configure --help' or read below.
For a default configuration (which is probably not what you want):
./configure
For a LASH-disabled build optimized for your CPU (desired configuration
until LASH support is fixed):
./configure --enable-arch=native --without-lash
Juno-106 SysEx translation can be completely disabled by specifying the
--without-juno flag:
./configure --enable-arch=native --without-juno
Once configured, JAMRouter can be compiled and installed with the usual:
make
make install
The --enable-arch= flag to ./configure will take any CPU type
supported by your gcc version for its -march= and -mtune= optimization
flags.
Architechtures currently supported:
i386 i486 i586 pentium i686 pentium-mmx pentiumpro pentium2
k6 winchip-c6 pentium3 pentium3m c3-2 pentium-m pentium4
pentium4m k6-2 k6-3 winchip2 c3 geode athlon athlon-tbird
athlon-4 athlon-mp athlon-xp k8 opteron athlon64 athlon-fx
k8-sse3 opteron-sse3 athlon64-sse3 amdfam10 barcelona x86_64
prescott nocona core2 corei7 corei7-avx core-avx-i amd64
itanium itanium1 merced itanium2 mckinley ia64 ia32e atom
generic native
If building with gcc-4.2 or newer, you may use --enable-arch=native
to optimize for your CPU.
By default, 64-bit builds are enabled on 64-bit architectures. To
force a 32-bit build on a 64-bit architecture (for a native 32-bit
build or cross-compiling for a 32-bit architecture), use the
--enable-32bit flag.
Additionally, you may add --enable-debug="-gwhatever" to pass debug
flags to the compiler. When debug is enabled, the optimization level
is switched from -O3 to -O2, the -fomit-frame-pointer optimization is
removed, and -Wall (for all compiler warnings) is turned on.
To override or add extra compiler flags, set the CFLAGS environment
variable when running configure.
Examples:
./configure --enable-arch=atom \
--enable-32bit
./configure --enable-arch=native \
--enable-debug='-ggdb3 -O0'
For custom builds, additional settings may be configured in
src/jamrouter.h. For MIDI drivers that don't quite behave like the
rest of the pack, behavior of the Raw MIDI driver can be tweaked in
src/jamrouter.h. For most builds, modifiying jamrouter.h should not
be necessary.
-------------------------------------------------------------------------------