How do I use a custom dynamic library (wiringPi in my case) with a ARMv6 C++ compiler that was created with crosstool-ng? I built wiringPi then added -lwiringPi to the linker options, and this works fine using g++ but does not when using the new ARMv6 C++ compiler.
Error is: ld: cannot find -lwiringPi
Given that the crosstool compiler seems to have a structure of its own, maybe I have to build the library somewhere inside the ARMv6 C++ compiler files?