Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (9 sloc) 0.333 kB
rm -rf lib/libospi.so lib/libospi.so.1.0.1 build
mkdir build logs
gcc -fPIC -g -c -Wall src/ospijs.c -o build/ospijs.o
gcc -shared -Wl,-soname,libospi.so -o libospi.so.1.0.1 build/ospijs.o -lc
mv libospi.so.1.0.1 lib
cd lib
ln -s libospi.so.1.0.1 libospi.so
cd ../
gcc -L./lib -Wall examples/ospi.c -o build/ospi -lospi -lwiringPi
Jump to Line
Something went wrong with that request. Please try again.