The binary size difference is caused by the linker used.
Linux used GNU ld while FreeBSD used llvm lld. lld runs faster and produces smaller binaries.
https://forums.freebsd.org/threads/why-are-freebsd-binaries-smaller-than-linux-ones.93571/
The binary size difference is caused by the linker used.
Linux used GNU ld while FreeBSD used llvm lld. lld runs faster and produces smaller binaries.
https://forums.freebsd.org/threads/why-are-freebsd-binaries-smaller-than-linux-ones.93571/