Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about binary-size

Read more about binary-size

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - binary-size

Why is a statically-linked "hello world" program so big (over 650 KB)?

Consider the following program: #include <stdio.h> int main(void) { printf("hello world\n"); return 0; } If I build it with GCC, optimizing for size, and with static linking, and ...
test-img

ein supports Moderator Strike

c

static-linking

size-reduction

binary-size

Votes: 0

Answers: 3

Latest Answer

A partial answer: The executable's inflated size... does not have anything to do with your use of printf. does not have anything to do with the compiler's ability to optimize your code. does not have...
test-img

ein supports Moderator Strike

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved