| 1 ------------------------------------------------------------------------------- |
1 ------------------------------------------------------------------------------- |
| 2 UAP Common eXtensions - UCX |
2 UAP Common Extensions - UCX |
| 3 ------------------------------------------------------------------------------- |
3 ------------------------------------------------------------------------------- |
| 4 |
4 |
| 5 0. Table of Contents: |
5 0. Table of Contents: |
| 6 |
6 |
| 7 1. Introduction ........................................................ 15 |
7 1. Introduction ........................................................ 15 |
| 8 2. Build ............................................................... 26 |
8 2. Build ............................................................... 26 |
| 9 3. Install ............................................................. 58 |
9 3. Install ............................................................. 37 |
| 10 4. Documentation ....................................................... 71 |
10 4. Documentation ....................................................... 50 |
| 11 5. Contact ............................................................. 84 |
11 5. Contact ............................................................. 63 |
| 12 6. License ............................................................. 90 |
12 6. License ............................................................. 69 |
| 13 |
13 |
| 14 |
14 |
| 15 1. Introduction |
15 1. Introduction |
| 16 --------------- |
16 --------------- |
| 17 |
17 |
| 24 |
24 |
| 25 |
25 |
| 26 2. Build |
26 2. Build |
| 27 -------- |
27 -------- |
| 28 |
28 |
| 29 Untar the source archive and run |
29 Untar the source archive and simply run |
| 30 |
30 |
| 31 make CONF=<yourconfig> |
31 ./configure && make |
| 32 |
32 |
| 33 If you are going to use gcc, then simply run |
33 If you want to verify your build, you may then run |
| 34 |
34 |
| 35 make |
35 make check |
| 36 |
|
| 37 The available configurations are clang, gcc, mingw, osx and suncc. |
|
| 38 |
|
| 39 The build files are placed into a build subdirectory, which is created if it |
|
| 40 does not exists. |
|
| 41 |
|
| 42 The default target builds optimized binaries. Use the debug target by running |
|
| 43 |
|
| 44 make debug CONF=<yourconfig> |
|
| 45 |
|
| 46 to disable optimization and enable debug symbols. |
|
| 47 |
|
| 48 If you want to test your build either run |
|
| 49 |
|
| 50 make run CONF=<yourconfig> |
|
| 51 |
|
| 52 or |
|
| 53 |
|
| 54 make run-debug CONF=<yourconfig> |
|
| 55 |
|
| 56 Again, you can omit the CONF parameter, when using the gcc. |
|
| 57 |
36 |
| 58 3. Install |
37 3. Install |
| 59 ---------- |
38 ---------- |
| 60 |
39 |
| 61 Build the binaries as described in chapter two. Then install UCX, by running |
40 Build the binaries as described above. Then install UCX, by running |
| 62 |
41 |
| 63 make install |
42 make install |
| 64 |
43 |
| 65 or |
44 or |
| 66 |
45 |
| 67 make install PREFIX=<install_dir> |
46 make install PREFIX=<install_dir> |
| 68 |
47 |
| 69 The default prefix is /usr/local. |
48 The default prefix is /usr/local and will require privileged access. |
| 70 |
49 |
| 71 4. Documentation |
50 4. Documentation |
| 72 ---------------- |
51 ---------------- |
| 73 |
52 |
| 74 Documentation is available at: |
53 Documentation is available at: |