Mail Archives: djgpp/2000/11/07/10:15:25
Eli Zaretskii wrote:
>
> On Wed, 1 Nov 2000, Prashant Ramachandra wrote:
>
> > Besides, DJGPP generates COFF while linux generates ELF.
>
> The object file format does not have any significant effect on the
> executable file's size, once you strip the debugging info. So the
> COFF vs ELF issue is irrelevant here. (I think ELF debug info is more
> voluminous, especially in C++ programs, btw.)
Hi Eli, thanks for your help with this problem, and your great kindness
in writing privately with suggestions. I have now solved the problem. I
looked into my setup expecting the problem there, but eventually I
noticed a strange file in my directory called bb.out, and it was huge (6
Mb). It contained lots of tracing information. I subsequently had a very
close look at the switches RHIDE was putting on my compilation and
discovered "-a". (Not that I hadn't looked before, but you sometimes
simply don't see things you don't expect - this was a good lesson in
being extra careful.) When I ferreted around in the RHIDE option menus
and got rid of that, the program stopped creating bb.out and shrank to
almost an identical stripped size to the Linux binary.
Thanks to everyone who helped me out with this puzzle.
--
Ron House house AT usq DOT edu DOT au
http://www.sci.usq.edu.au/staff/house
Whoever tells a lie cannot be pure in heart -- and only the
pure in heart can make a good soup. -- Ludwig Van Beethoven
- Raw text -