Mail Archives: djgpp/1993/11/28/13:31:22
>
> Hi.
>
> I have a problem which I cannot understand why it happens.
> If I compile programs with gcc (from djgpp 1.10) with option -s, all
> my programs work fine.
> But if I don't use that option, almost all of them stop immediately with
> exception 'segmentation violation', pointing to some place inside malloc
> code (usually malloc+200 or similar).
>
> I'm using my own go32.exe (compiled directly with BCC 3.1 using option -3
> and optimizations).
>
> I don't mind using always '-s', but unfortunately I can't use the debugger,
> because that problem is in the startup phase of a program, before executing
> the program's code.
>
> Is it related to go32.exe version I use? Should I change to another go32.exe
> version?
>
> Thanks in advance,
> Antonio.
It is not the problem of go32, but the problem of ld.
You can get binutl22-fix.zip from omnigate.clarkson.edu:/pub/msdos/djgpp/pub.
-- Jih-Shin Ho
- Raw text -