Re: [Chicken-users] csc switch for linking foreign libraries?

2019-01-18 Thread Vasilij Schneidermann
Hello Christoph, > Understandably. Since I didn't link libmosquitto.so to it. But *HOW*?! I > tried '-lmosquitto', but that's not passed on to gcc. Which is the correct > way? I'll assume for now that you're using CHICKEN 5 because in CHICKEN 4 it's sufficient to pass `-lmosquitto`. This

[Chicken-users] csc switch for linking foreign libraries?

2019-01-18 Thread Christoph Lange
Dear Chickeneers! I might be stupid or blind, but I can't find a way of announcing foreign libraries to 'csc' that have to be linked to my binary. I have the following code: *(import bind)* *(bind "int mosquitto_lib_init(void);")* *(display (mosquitto_lib_init))* When doing 'csc mqtt.scm' on