mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-20 18:04:26 +02:00

For some reason, the default setting in all Toolchain.cmake is: ``` set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH) set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH) ``` For cross-compilation, CMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER makes sense (we only want to find executables in host system root), but CMAKE_FIND_ROOT_PATH_MODE_LIBRARY/INCLUDE should be set to ONLY, otherwise cmake may find libraries in host system root, and try to link with incompatible libraries (instead of cross-compilation sysroot). Fixes #431.
dockcross image for ARMv7-A-LTS =========================== Toolchain configured for ARMv7-A used in Beaglebone Black single board PC with TI SoC AM3358 on board, Cortex-A8. Code compiled with dockcross armv7 image crashes on Beaglebone, see https://github.com/dockcross/dockcross/issues/290 This is the LTS version, i.e. with glibc version 2.28. Difference with dockcross armv7 toolchain: ARCH_CPU="cortex-a8", ARCH_FPU="neon". Only NEON is enabled, though TI docs says it is possible to use both VFPv3 and NEON http://processors.wiki.ti.com/index.php/Using_NEON_and_VFPv3_on_Cortex-A8 I do not know how to configure CrossTool-NG for VFPv3+NEON. Feel you free to submit a fix)