I have a Problem using wiringPi
with crosstool-ng
.
First I got this Error:
libwiringPi.so: file not recognized: File format not recognized
I think the problem might be that ./build
will not use crosstool-ng to build wiringPi
?
I also tried to change the makefile:
CC = arm-unknown-linux-gnueabi-gcc
#CC =gcc
Then, while building wiringPi
I got this error:
make: arm-unknown-linux-gnueabi-gcc: Command not found
If I type the command right into the terminal, the command works.
Any other suggestions how to make wiringPi
work with crosstool-ng
?
I am using Ubuntu 14.04 on my Notebook and Raspbian on the Pi.
For installing I followed these tutorials: