Libnodave on Linux 64 bit
Note to myself.
Put these lines in the Makefile and then run “make”:
CFLAGS=-m64 -Wall -Winline -DLINUX -DDAVE_LITTLE_ENDIAN -fPIC
CTFLAGS=-m64 -Wall -Winline -fPID -DLINUX -DDAVE_LITTLE_ENDIAN -fPIC
CPPFLAGS=-m64 -Wall -Winline -DLINUX -DDAVE_LITTLE_ENDIAN -fPIC
Then:
cp libnodave.so /usr/lib64/
cp nodave.h /usr/include
ldconfig
Hi!
I am having problems nodave. My perfect build suddenly stopped working all of a sudden. I think I lost some of the “magic” build flags that I put manually into the Makefile. So I would love if you could tell my why you added these to your makefile?
And how did you come up with them?
Thanks!
Hi,
weew, one year passed. It’s difficult to recap why I used them. If I remember correctly, all comes from here https://github.com/netdata/libnodave/blob/master/faq.txt
where you have a hint on how different processors read byte in different order.