Skip to content

kpyrkosz/cmake_crosscompile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal example reproducing issue with new CMake feature file(GET_RUNTIME_DEPENDENCIES)

The paths to .so dependencies found with that method are broken. No matter what compiler you use these do not change, while they should (look at the "Resolved deps for demonstration" line in cmake).

The example demonstrates this problem by building main.cpp using 3 compilers:

  • x86_64-linux-gnu-gcc/g++
  • aarch64-linux-gnu-gcc/g++
  • arm-linux-gnueabihf-gcc/g++

Example build logs are attached below:

They have been generated with ./try_compilers helper script. Obviously, to reproduce the issue it is necessary to have the crosscompilers installed. It may be necessary to create a symlinks like x86_64-linux-gnu-gcc-8/9 -> x86_64-linux-gnu-gcc which are not created by default.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published