3 ms·
glibc’s pre-main code is still far larger even with optimized flags. It’s at least a couple KB of disk. You can see the flags I used. I think only ‘-nostdlib
by oso2k 4y ago
glibc’s pre-main code is still far larger even with optimized flags. It’s at least a couple KB of disk. You can see the flags I used. I think only ‘-nostdlib’ has to be removed. Some of the code & data glibc adds has purpose (like TLS (thread level storage) bits).
https://github.com/lpsantil/rt0/blob/master/STATS.md https://github.com/lpsantil/rt0/blob/master/STATS.md