Mail Archives: djgpp/1996/03/27/16:36:24
On Tue, 26 Mar 1996 17:06:23 GMT, gelido AT dei DOT unipd DOT it wrote:
>Hi DJs,
> which is the inline GCC options to make the smaller .exe ?
>I use 'GCC -s -O3' but the output file is 2-3 times bigger than BCC.
>Is this what I have to pay for 32 bit ?
>
>There is an EXE-packer that works with DJ exe ?
I am very new to DJGPP, but I've done some playing around, comparing BC++
and gcc. You might want to compare the results of compiling with *bcc32*
and gcc, since they are more comparable. bcc32 always produces bigger
..exe's than bcc, even with the optimizations for size turned on. gcc
*still* produces larger .exe files than bcc32, but it's more on the order
of 10%, which isn't too bad.
I'm too new to DOS to know why a programme compiled with a 32-bit compiler
is always bigger than the same programme compiled with a 16-bit compiler.
Anybody know? Does it have something to do with DOS addressing? The
extra bytes required to store 32-bit addresses? The extra stuff required
to run a 32-bit programme in a 16-bit DOS environment? (That reminds me,
I've been wanting to go into DOS setup and see what happens if I turn on
32-bit addressing...)
I would also like an answer to the question of an EXE-packer for DJGPP.
bonni
coming soon - 1996 IF Competition entry
__ __
IC | XC | bonni mierzejewska "The Lone Quilter"
---+--- | u6ed4 AT wvnvm DOT wvnet DOT edu
NI | KA | Kelly's Creek Homestead, Maidsville, WV
- Raw text -