Question

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 
Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top