Sha256: 858f9876ca3da509cca2ceac1605433554b77b9d4b302e67c9776e736f99072f

Contents?: true

Size: 776 Bytes

Versions: 14

Compression:

Stored size: 776 Bytes

Contents

#
# CMake Toolchain file for crosscompiling for aarch64-linux-gnu.
#
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR aarch64)

set(TOOLCHAIN_PREFIX aarch64-linux-gnu-)
execute_process(
  COMMAND which ${TOOLCHAIN_PREFIX}gcc
  OUTPUT_VARIABLE BINUTILS_PATH
  OUTPUT_STRIP_TRAILING_WHITESPACE
)

get_filename_component(AARCH64_TOOLCHAIN_DIR ${BINUTILS_PATH} DIRECTORY)

set(CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}gcc)
set(CMAKE_ASM_COMPILER ${CMAKE_C_COMPILER})
set(CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}g++)
set(CMAKE_C_COMPILER_WORKS 1)
set(CMAKE_CXX_COMPILER_WORKS 1)

set(CMAKE_FIND_ROOT_PATH ${BINUTILS_PATH})
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ffi-libarchive-binary-0.4.0-x64-mingw32 toolchain/aarch64-linux-gnu.cmake
ffi-libarchive-binary-0.4.0-x64-mingw-ucrt toolchain/aarch64-linux-gnu.cmake
ffi-libarchive-binary-0.4.0.rc1-x64-mingw32 toolchain/aarch64-linux-gnu.cmake
ffi-libarchive-binary-0.4.0.rc1-x64-mingw-ucrt toolchain/aarch64-linux-gnu.cmake
ffi-libarchive-binary-0.3.4-x64-mingw32 toolchain/aarch64-linux-gnu.cmake
ffi-libarchive-binary-0.3.4-x64-mingw-ucrt toolchain/aarch64-linux-gnu.cmake
ffi-libarchive-binary-0.3.2-x64-mingw32 toolchain/aarch64-linux-gnu.cmake
ffi-libarchive-binary-0.3.2-x64-mingw-ucrt toolchain/aarch64-linux-gnu.cmake
ffi-libarchive-binary-0.3.2.rc1-x64-mingw32 toolchain/aarch64-linux-gnu.cmake
ffi-libarchive-binary-0.3.2.rc1-x64-mingw-ucrt toolchain/aarch64-linux-gnu.cmake
ffi-libarchive-binary-0.3.1-x64-mingw32 toolchain/aarch64-linux-gnu.cmake
ffi-libarchive-binary-0.3.1-x64-mingw-ucrt toolchain/aarch64-linux-gnu.cmake
ffi-libarchive-binary-0.3.0-x64-mingw32 toolchain/aarch64-linux-gnu.cmake
ffi-libarchive-binary-0.3.0-x64-mingw-ucrt toolchain/aarch64-linux-gnu.cmake