The C++ compiler is also gnueabihf-g++


On Mon, Oct 21, 2013 at 9:39 AM, krishna prasad bv <krishnaprasad.bv@gmail.com> wrote:
Hi,

This is the contents of the toolchain.cmake file.

SET(CMAKE_SYSTEM_NAME Linux)
SET(CMAKE_SYSTEM_VERSION 1)

#the cross compilers
SET(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc)
SET(CMAKE_CXX_COMPILER arm-llinux-gnueabi-g++)

#the target environment
SET(CMAKE_FIND_ROOT_PATH <paths to include and lib files of target environment>)

SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)

With warm regards,
Krishna Prasad