Mail Archives: djgpp/1995/08/02/07:18:49
On 1 Aug 1995, Erwann Corvellec wrote:
> Second, I am VERY distappointed by the difference of size between gcc and
> wcc386... :(
The DJGPP start-up code does more than that of Watcom: it includes
Unix-like file globbing, 3 methods of long command-line support and
environment variables from a file. If you don't need any of these, you
can change the start-up code (v2.0 has provisions to do this without
changing source code).
> Why are there fonts in a.exe generated by gcc ????????
There shouldn't be. How do you know there are fonts there?
> gcc -O1 a.cpp -lgpp
> strip --strip-all a.out
> coff2exe a.out
> A.EXE SIZE=100352 bytes
>
> wpp386 -os a.cpp
> wlink file a
> A.EXE SIZE=32810 bytes
>
> 100352 bytes for this little piece of code (150Ko with all symbols !) !
This is an additive overhead, not a multiplicative one, so in a realistic
application (which does a bit more than just Hello world) the overhead
in percents is much smaller.
- Raw text -