foojayio / discoapi

The foojay discovery api (discoapi) is made to discover java packages (jre/jdk) from different distributions.
GNU General Public License v2.0
111 stars 13 forks source link

Unclear what the difference is between c_std_lib / glibc / libc #47

Closed mikehearn closed 2 years ago

mikehearn commented 2 years ago

I only know of two C libaries used in the Linux world, glibc and musl. What do "c_std_lib" and "libc" mean?

HanSolo commented 2 years ago

libc -> MacOS glibc -> Linux musl -> Linux (Alpine Linux) c_std_lib -> Windows

mikehearn commented 2 years ago

It's probably worth noting that in the docs. C Libraries aren't really relevant on other operating systems: macOS only has one, and on Windows you normally bundle it with the app.

HanSolo commented 2 years ago

But they are relevant for the api to determine between Linux + musl and Linux + glibc. And for that reason we keep this info for all operating systems