Hi,
I don't have any cegcc at hand for the moment so I cannot check it, but ...
I believe, the linker sets some default maximal sizes for sections,
including the stack/heap (you can increase them using some linker flags).
While looking at a problem, that I met some time ago, I noticed that the
ce
See question/answer 10 in my FAQ for explanations (in short, the 40kB
size difference came from the "exception handling" code).
Best regards,
Jacek.
-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from
On Mon, 2007-11-05 at 18:01 +0100, Jacek M. Holeczek wrote:
> A simple ".exe" compiled with MS C++ is about 3 kB long, the same code
> compiled with CeGCC is about 40 kB long.
> Similarly, a ".dll" compiled with MS C++ is about 39 kB long, the same
> code compiled with CeGCC is about 89 kB long.
>
This turned out to be a false lead that I tracked down in another component.
As it turns out there is actually a stack of 3 inherited classes,
base
foo : base()
bar : foo()
and I was able to confirm all 3 base constructors are working OK,
base, foo, and bar.
the problem is in anot