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

 

 

Be Sociable, Share!

2 Risposte a “Libnodave on Linux 64 bit”

  1. 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!

  2. 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.

Lascia un commento

Il tuo indirizzo email non sarà pubblicato.

Questo sito usa Akismet per ridurre lo spam. Scopri come i tuoi dati vengono elaborati.