aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL.md
diff options
context:
space:
mode:
authorandimik <andimik@yahoo.de>2019-10-25 22:10:28 +0200
committerGitHub <noreply@github.com>2019-10-25 22:10:28 +0200
commit4c5ba9ad0d81974b7769d76a98bb57e6ae25ef2b (patch)
tree9f85d311b0ae4b851886b0d0d016b193ec66d920 /INSTALL.md
parentb14ee3936e972a418126cbc882d9356dec8bb53c (diff)
downloaddabmod-4c5ba9ad0d81974b7769d76a98bb57e6ae25ef2b.tar.gz
dabmod-4c5ba9ad0d81974b7769d76a98bb57e6ae25ef2b.tar.bz2
dabmod-4c5ba9ad0d81974b7769d76a98bb57e6ae25ef2b.zip
Update INSTALL.md
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md87
1 files changed, 53 insertions, 34 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 03ddda1..f84e38f 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -1,12 +1,12 @@
Required dependencies:
======================
- * A C++11 capable compiler
- * pkg-config
- * FFTW 3.x
- * Optional UHD for USRP
- * Optional SoapySDR (see below)
- * Optional ZeroMQ http://www.zeromq.org
+* A C++11 capable compiler
+* pkg-config
+* FFTW 3.x
+* Optional UHD for USRP
+* Optional SoapySDR (see below)
+* Optional ZeroMQ http://www.zeromq.org
Simple install procedure:
=========================
@@ -21,20 +21,34 @@ Simple install procedure:
Configure options
=================
-The configure script can be launch with a variety of options:
- --disable-zeromq Disable ZeroMQ input (to be used with ODR-DabMux),
- output and remotecontrol.
- --disable-output-uhd Disable the binding to the UHD driver for USRPs
- --enable-fast-math Compile using the -ffast-math option that gives a substantial
- speedup at the cost of floating point correctness.
- --disable-native Do not compile ODR-DabMod with -march=native compiler option.
- This is meant for distribution package maintainers who want to
- use their own march option, and for people running into compilation
- issues due to -march=native. (e.g. GCC bug 70132 on ARM systems)
+The configure script can be launched with a variety of options:
-Debugging options: You should not enable any debug option if you need good performance.
- --enable-trace Create debugging files for each DSP block for data analysis
+`--disable-zeromq`
+
+Disable ZeroMQ input (to be used with ODR-DabMux), output and remotecontrol.
+
+
+`--disable-output-uhd`
+
+Disable the binding to the UHD driver for USRPs
+
+
+`--enable-fast-math`
+
+Compile using the `-ffast-math` option that gives a substantial speedup at the cost of floating point correctness.
+
+
+`--disable-native`
+
+**Remark:** Do not compile ODR-DabMod with `-march=native` compiler option. This is meant for distribution package maintainers who want to use their own march option, and for people running into compilation issues due to `-march=native`. (e.g. GCC bug 70132 on ARM systems)
+
+**Debugging options:** You should not enable any debug option if you need good performance.
+
+
+`--enable-trace`
+
+Create debugging files for each DSP block for data analysis
For more information, call:
@@ -42,16 +56,16 @@ For more information, call:
Performance optimisation
------------------------
-While the performance of modern systems is in most cases good enough to
+While the performance of modern systems is good enough in most cases to
run ODR-DabMod, it is sometimes necessary to increase the compilation
optimisation if all features are used or on slow systems.
Tricks for best performance:
- * Do not use --disable-native
- * Use --enable-fast-math
- * Add -O3 to compiler flags
- * Disable assertions with -DNDEBUG
+* Do not use `--disable-native`
+* Use `--enable-fast-math`
+* Add `-O3` to compiler flags
+* Disable assertions with `-DNDEBUG`
Applying all together:
@@ -70,27 +84,32 @@ measurable overhead. Please report if you get warnings or errors when using the
Nearly as simple install procedure using repository:
====================================================
- * Download and install dependencies as above
- * Clone the git repository
- * Bootstrap autotools:
- % ./bootstrap.sh
- In case this fails, try:
- % aclocal && automake --gnu --add-missing && autoconf
- * Then use ./configure as above
+* Download and install dependencies as above
+* Clone the git repository
+* Bootstrap autotools:
+
+ % ./bootstrap.sh
+
+ In case this fails, try:
+
+ % aclocal && automake --gnu --add-missing && autoconf
+
+* Then use `./configure` as above
SoapySDR support and required dependencies
==========================================
+
SoapySDR is a vendor-neutral library to drive SDR devices. It can be used to
drive the HackRF and the LimeSDR among others.
Required dependencies that need to be installed are, in order:
1. SoapySDR itself from https://github.com/pothosware/SoapySDR
-1. The LimeSuite for the LimeSDR from https://github.com/myriadrf/LimeSuite
-1. HackRF support for SoapySDR from https://github.com/pothosware/SoapyHackRF
+2. The LimeSuite for the LimeSDR from https://github.com/myriadrf/LimeSuite
+3. HackRF support for SoapySDR from https://github.com/pothosware/SoapyHackRF
ODR-DabMod will automatically recognise if the SoapySDR library is installed on
-your system, and will print at the end of ./configure if support is enabled or
+your system, and will print at the end of `./configure` if support is enabled or
not.
-A configuration example is available in doc/example.ini
+A configuration example is available in `doc/example.ini`