Introduction
NCAR In-Situ Data Acquisition Software
How to Build and Install NIDAS for ARM and Intel Systems
Building NIDAS requires the the gcc and g++ compilers, the flex parser, and the scons build tool.
NIDAS uses various other software, such as xerces-c, xmlrpc++, bluez for bluetooth, and the Linux kernel headers for building kernel modules
On RedHat systems, yum install the nidas-build package from the EOL repository before building nidas. Installing that package will ensure that your development system has the required software to do a build.
How to Build and Install NIDAS for All Supported Hosts
Setting install destination with PREFIX
The value of PREFIX defaults to /opt/nidas. It can be changed with a scons runstring variable:
- cd src
- scons PREFIX=/usr install
How to Build NIDAS for Build Host's Architecture
- cd src
- scons BUILDS=host
- scons BUILDS=host install
How to Build NIDAS for ARM
On RedHat systems, yum install the nidas-ael package from the EOL repository. Installing that package will ensure that your development system has the required software to do a build for ARM systems.
Then make sure arm-linux-g++, and the other arm tools are available and in your path. For example:
- sh/bash: PATH=/opt/arcom/bin:$PATH
- csh/tcsh: set path = (/opt/arcom/bin $path)
- cd src
- scons BUILDS=arm
- scons BUILDS=arm install
- cd src
- scons BUILDS=armbe
- scons BUILDS=armbe install
Directory of NIDAS Installation
$PREFIX defaults to /opt/nidas. It can be changed with a scons runstring variable.
- $PREFIX/bin
- Executables for the host system
- $PREFIX/lib
- Libraries for the host (libnidas.so, libnidas_dynld.so)
- $PREFIX/modules
- Kernel modules for the host
- $PREFIX/include
- C/C++ header files
- $PREFIX/arm/bin
- Executables for ARM
- $PREFIX/arm/lib
- Libraries for ARM (libnidas.so, libnidas_dynld.so)
- $PREFIX/arm/modules/viper
- Kernel modules for Eurotech Viper CPU
- $PREFIX/arm/modules/titan
- Kernel modules for Eurotech Titan CPU
- $PREFIX/armbe/bin
- Executables for big-endian ARM
- $PREFIX/armbe/lib
- Libraries for big-endian ARM (libnidas.so, libnidas_dynld.so)
- $PREFIX/armbe/modules/vulcan
- Kernel modules for Eurotech Vulcan CPU