Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 12 Aug 2019 17:55:28 +0100
From: Jorge Almeida <jjalmeida@...il.com>
To: musl@...ts.openwall.com
Subject: Re: size of executable

On Mon, Aug 12, 2019 at 5:48 PM Jorge Almeida <jjalmeida@...il.com> wrote:
>

> 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);
> }

Sorry, I forgot to add the compile options. In attachement, due to
Gmail interface being what it is.

View attachment "hello.txt" of type "text/plain" (736 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.