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
cegcc linker, by default, sets lower sizes than the original MS compiler
(if I now recall it right, of course - that was not my problem, I just
noticed it simply - sorry, but I cannot repeat this test for the moment).

Now, is it possible that when you allocate space somewhere there in your
code, you run out of free space (i.e. the actual available free space gets
too small - the same code compiled/linked with MS tools might still have
enough free resources)?
Then I would expect a sudden exit of the executable (i.e. the system
terminates it without any warning).

Best regards,
Jacek.

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to