문제

I'm using a toolchain and cross compiling for arm from i86 workstation. I know which path is using as a default path library the gnu linker of my workstation looking ld.config but i would like the default library directory for the gnu linker of my cross compiler. Sometimes, passing right LD_CFLAGS get errors like:

warning: libx***.so.0, needed by needed by liby***.so, not found 
도움이 되었습니까?

해결책

i would like the default library directory for the gnu linker of my cross compiler

cross-gcc --print-search-dirs | grep ^libraries

should answer that for you.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top