Sujet : Re: Downwardly Scalable Systems
De : invalid (at) *nospam* invalid.invalid (Richard Kettlewell)
Groupes : comp.miscDate : 16. Apr 2024, 08:31:36
Autres entêtes
Organisation : terraraq NNTP server
Message-ID : <wwvy19dbw6f.fsf@LkoBDZeT.terraraq.uk>
References : 1 2 3 4 5
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
kludge@panix.com (Scott Dorsey) writes:
D <nospam@example.net> wrote:
Why do they go backwards? I mean larger binaries must come with some
benefit right?
>
The hello world executable generated with gcc under Oracle Linux 8 is
42Mb long, which is more MASS STORAGE than I had on the first Unix
system I ever used. I can't see this as being a good thing.
I’m not sure how you managed to make it be 42MB. If I use the official
container imagine it comes out under 20KB.
[
root@4b3cfcf8c484 /]# cat t.c
#include <stdio.h>
int main(void) { return printf("Hello, world\n"); }
[
root@4b3cfcf8c484 /]# gcc -O2 -o t t.c
[
root@4b3cfcf8c484 /]# ./t
Hello, world
[
root@4b3cfcf8c484 /]# ls -l t
-rwxr-xr-x 1 root root 18096 Apr 16 07:27 t
-- https://www.greenend.org.uk/rjk/