Mail Archives: djgpp/1996/08/11/04:24:18
On Fri, 9 Aug 1996, Ian Romanick wrote:
> Further, if I comment out a certain line in one of my source files, it
> works just fine. Note, that this line is NEVER executed. In fact, my
> main() is just:
>
> main()
> {
> return 0;
> }
It is not clear from your message whether the above simple main is the
only function in your source, and it generates a program that crashes, or
if there is more code in your program. If there is more, please post the
other code, or at least the function where that line causing the crash
resides.
The startup code is just another library function, so it might crash the
program just like any other function (yours or otherwise). It might be a
library bug, or something in your program or in your hardware/software
configuration that causes the startup code to crash. Without more info,
it is hard to tell.
- Raw text -