There was an error while loading. Please reload this page.
Tested with 05dc415, gcc-5.3.0-arm-v7 and boost 1.60
Create CMake toolchain file, for example (cmake.armv7):
cmake.armv7
SET(CMAKE_SYSTEM_NAME Linux) SET(CMAKE_SYSTEM_VERSION 1) SET(CMAKE_C_COMPILER /Volumes/darwin-arm-v7/bin/arm-cortex_a9-linux-gnueabi-gcc) SET(CMAKE_CXX_COMPILER /Volumes/darwin-arm-v7/bin/arm-cortex_a9-linux-gnueabi-g++) SET(CMAKE_FIND_ROOT_PATH /Volumes/darwin-arm-v7/arm-cortex_a9-linux-gnueabi ~/arm-cortex_a9-linux-gnueabi/deps) SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
To compile only osrm-routed configure and build:
osrm-routed
mkdir build && cd build LDFLAGS=-static-libstdc++ cmake -DENABLE_LTO=OFF -DCMAKE_TOOLCHAIN_FILE=~/arm-cortex_a9-linux-gnueabi/cmake.armv7 -DCMAKE_BUILD_TYPE=Release .. make osrm-routed