Pregunta

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 
¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top