Not sure how stupid this question is, but how would I go about statically linking glibc for a K/N executable? Is there a way to do so that doesn't involve specifying all the glibc headers in a cinterop def?
d
Dominaezzz
08/18/2020, 11:55 AM
I thought glibc was statically linked already.
Dominaezzz
08/18/2020, 11:56 AM
Otherwise you can specify all the headers in gradle and use the compiler argument (or free args)
-include-binary
to include the static lib.
s
serebit
08/18/2020, 2:04 PM
Nah, it's dynamically linked. I'll look into what you suggested, thanks.