ELF「まだa.outなの…?」
a.out「なんもわからん」
$ gcc main.c && file a.out
a.out: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=5f0d77ad44dc3cadb81f45f0e797ed0670ae9e55, for GNU/Linux 3.2.0, not stripped
ELF「ちょ」
$ gcc main.c && file a.out
a.out: Mach-O 64-bit executable x86_64
gcc「僕はいったい誰なんだ」
$ gcc --version
Apple clang version 15.0.0 (clang-1500.0.40.1)
Target: x86_64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin