Re: Creating a statically linked executable for a LuaJIT+C program

  • From: Coda Highland <chighland@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Sun, 28 Oct 2012 21:56:03 -0700

On Sun, Oct 28, 2012 at 9:51 PM, Coda Highland <chighland@xxxxxxxxx> wrote:
> Most
> binaries linked against musl libc will continue to work if libc.so is
> suddenly replaced with glibc

Okay, so I'm slightly wrong about this, the relationship is one-way;
musl-linked binaries aren't compatible with glibc due to glibc pulling
some not-quite-POSIX stunts in its header files. But the other way
around does work, and it's fully possible to provide a binary that
works with both libc implementations without recompilation.

/s/ Adam

Other related posts: