Mail Archives: djgpp/1999/08/09/07:55:13
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
>
>On Sat, 7 Aug 1999, Endlisnis wrote:
>
>> Well, I can't seem to recreate it, so it was probably my
>> imagination, but I did notice that static array values are loaded
>> from the executable, which makes this program over 40Megs as an
>> executable:
>You probably compiled this as a C++ program, because C programs don't
>have this misfeature. See section 8.12 of the FAQ for a work-around.
This was discussed on one of the egcs mailing lists not too long ago. The
fix is to add a statement to DJGPP's config file in gcc that tells gcc the
name of the bss section. The fix is now in the gcc CVS and I think Andris
will be using it in his gcc 2.95 binary.
Mark
--
Mark E.: snowball3 AT bigfoot DOT com
http://snowball.frogspace.net/
- Raw text -