我要评分
获取效率
正确性
完整性
易理解

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.