Hi all once more, my apologies for the abudance of questions, I am quite new to this technology, and as a project I am hoping to port a few simple things I made in C into Kotlin/Native. The biggest problem is that it is not easy to compile Kotlin Native on a raspberry pi, it took me a really long time to compile a simple hello world application! I do though, want to access the WiringPi library, which allows you to work with the GPIO pins on raspberry pi's. The library is already installed on Raspberry Pi's, and unfortunately the creator does not distribute static files, and only the .so files which can be only installed on a raspberry pi, from what i've been able to research. My question is, if I want to use the library's functionality within a Kotlin Native project, I know that I would have to use it as a dynamic library, but how would I go about linking it to my project? Would that be possible, or would I have to stick to waiting for a long time while it compiles on the raspberry pi.
I also thought of the idea of copying the .so files from the raspberry pi into my workspace on my mac computer, and linking it through that way. I'm not sure whether this would work or not, and I would like to know what is the best course of action I should take, or just stick to C and not attempt this