Rate This Document
Findability
Accuracy
Completeness
Readability

print-multi-os-directory Not Supported

Error Information

1
ERROR: Problem encountered: Cannot find elf_aarch64_efi.lds

Problem

In GCC, when the print-multi-os-directory option is used, ../lib64 is returned. However, Clang cannot use this option to form a complete path. As a result, the required files cannot be found.

Solution

During compilation, hardcode the code that needs to use this option to obtain the lib64 path.