kubo39's blog

ただの雑記です。

Using DMD to make a 256 byte x86_64 Linux binary

こちらにまとめました.

github.com

これ解決したらgcc -static版も作りたいなあ.

forum.dlang.org

一応今のままでも static binaryだけど

$ file tinybin
tinybin: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV), statically linked, corrupted section header size
  • 追記

256byteまで削減したのでタイトル変更