[Bug target/106088] ld cannot find dependent libraries when cross compiling

galaxyking0419 at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Jun 26 10:07:06 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106088

--- Comment #1 from William Tang <galaxyking0419 at gmail dot com> ---
The mentioned libraries did exist in the cross compile environment.  Compiling
with command "arm-linux-gnueabihf-gcc main.c
-Wl,-rpath-link,/usr/arm-linux-gnueabihf/usr/lib -larchive" works just fine.


More information about the Gcc-bugs mailing list