Just out of curiosity (or maybe it matters?), does anyone know why binaries on FreeBSD are smaller than on Linux? There are something like 30-40% smaller (counting using du -s <path>)! That's crazy! We are talking about the exact same programs that have the exact same capabilities!
Making some analysis myself, I found out (using readelf --segments <path>) that binaries on freebsd have fewer segments than those of linux. I don't know why that's the case, but it at least gives me an idea.
However, to add more, using size -dA <path> to count the size for each segments, it seems that the same segments on freebsd programs, are smaller than the equivalent ones on the linux programs. Hmm....
I have not check every program and library. Just a few of them. And the only program that was actually bigger on freebsd than on linux was "Xorg" (another reason to root for Wayland, lol!). Tho, when checking their segment sizes with size -dA <Xorg_path>, it actually reports a smaller "total" for freebsd.
Yeah, I'm confused... and very curious!
Making some analysis myself, I found out (using readelf --segments <path>) that binaries on freebsd have fewer segments than those of linux. I don't know why that's the case, but it at least gives me an idea.
However, to add more, using size -dA <path> to count the size for each segments, it seems that the same segments on freebsd programs, are smaller than the equivalent ones on the linux programs. Hmm....
I have not check every program and library. Just a few of them. And the only program that was actually bigger on freebsd than on linux was "Xorg" (another reason to root for Wayland, lol!). Tho, when checking their segment sizes with size -dA <Xorg_path>, it actually reports a smaller "total" for freebsd.
Yeah, I'm confused... and very curious!