[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] gcc newbie question



Hello!

> 1.) My first C-program works, indeed: "Hello World!" :-)
> But is it normal that the compiled binary measures about 100Kb in size ?
> Seems a bit much for a simple program that does so little ? I have seen a
> binary for an Intel based system that was much smaller ?

The libc (MiNTLib) is statically linked (as no shared libraries are
available for FreeMiNT). That's why the program is so big as the printf
and stdio layer is so much code.

Btw. do you stripped the binary (strip <program>)?


Tschuess
   ...Frank

--
ATARI FALCON 040 // MILAN 060
-----------------------------------------
http://www.cs.uni-magdeburg.de/~fnaumann/
e-Mail: fnaumann@freemint.de