Building ECL as a static library

Daniel Kochmański daniel at turtleware.eu
Mon Jun 19 08:17:01 UTC 2023


Hello,

Thanks for raising this question. It is a feature that was requested a few times already. ECL works when cross-compiled, but you need to compile it against the target's libc.

Currently ECL always (even when statically linked) links dynamically against the target libc (if you've ever seen an error for executables that glibc is not compatible - that's this sort of issue).

In the future (but not in the imminent release) I want to add the possibility to link with libc statically (i.e musl), so the executable may be moved between machines with incompatible libc libraries.

Best regards,
Daniel

--
Daniel Kochmański ;; aka jackdaniel | Przemyśl, Poland
TurtleWare - Daniel Kochmański      | www.turtleware.eu

"Be the change that you wish to see in the world." - Mahatma Gandhi





More information about the ecl-devel mailing list