▲ | kees99 3 days ago | ||||||||||||||||||||||
Binary executable format is the same. But libc and dl (dynamic loader) libraries are different. You can install musl-specific versions of both on Debian, for example, like so:
Binaries that don't use libraries, i.e. complied with "-static" option on GNU/Linux run just fine on musl/Linux (and vice versa). | |||||||||||||||||||||||
▲ | blueflow 3 days ago | parent [-] | ||||||||||||||||||||||
I did not feel to do a lecture about vdso's, dynamic linking and interpreters to a person who had to ask about musl. If you like to copy statically linked binaries between musl and glibc systems, some day you will learn about libnss. | |||||||||||||||||||||||
|