Install cross compiler
sudo apt install -y build-essential \
g++-arm-linux-gnueabihf \
gdb-multiarch
Get OpenDDS
wget -qO- http://download.objectcomputing.com/OpenDDS/OpenDDS-3.12.tar.gz | tar xvz
cd OpenDDS-3.12 && mkdir dist-arm
Build
./configure \
--no-tests \
--target=linux-cross \
--target-compiler=$(which arm-linux-gnueabihf-g++) \
--prefix=$(pwd)/dist-arm/ && \
make
Install
cd build/target && \
make install
Additional files
cp -Lr ACE_wrappers/MPC/ ../../dist-arm/share/ace/MPC
The compiled files are now in the dist-arm directory.