[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] csc switch for linking foreign libraries?
From: |
Vasilij Schneidermann |
Subject: |
Re: [Chicken-users] csc switch for linking foreign libraries? |
Date: |
Fri, 18 Jan 2019 10:18:54 +0100 |
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 convention has been changed
as it collided with other flags starting with "-l", you'll need to use
`-L -lmosquitto` to pass the option to the linker.
Vasilij
signature.asc
Description: PGP signature