mailing list of musl libc
 help / color / mirror / code / Atom feed
* size of executable
@ 2019-08-12 16:48 Jorge Almeida
  2019-08-12 16:55 ` Jorge Almeida
  0 siblings, 1 reply; 8+ messages in thread
From: Jorge Almeida @ 2019-08-12 16:48 UTC (permalink / raw)
  To: musl

I think my executables are way too large. They used to be much
smaller, not so long ago (e.g. 18 months ago). I'm using musl 1.1.23
with gcc-8.3.0 on x86_64. Could someone check the following hello.c
and see what size you get?
I get 16768 bytes (not stripped) and 12324 (stripped).
Note that I'm not even using printf.

Thanks

#include <unistd.h>
int main(int argc, char* argv[]){
 write(1, "Hello, bloated world...\n", 24);
}


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-08-13 11:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-12 16:48 size of executable Jorge Almeida
2019-08-12 16:55 ` Jorge Almeida
2019-08-12 17:18   ` Rich Felker
2019-08-12 17:59     ` Jorge Almeida
2019-08-12 18:16     ` Khem Raj
2019-08-12 18:23       ` Rich Felker
2019-08-13 10:15         ` Micha Nelissen
2019-08-13 11:45           ` Fangrui Song

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).