Mail Archives: djgpp/1993/11/27/13:48:36
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.
.........................................................................
O O
/ / I N E S C
| O | Antonio Costa | E-Mail acc AT asterix DOT inescn DOT pt
| |\ | O | acosta AT porto DOT inescn DOT pt
| | \ | / O Comp. Graphics & CAD | DECnet porto::acosta
| | \| / / |
| | / | | Largo Mompilher 22 | UUCP {mcvax,...}!...
O | |-O | | 4100 Porto PORTUGAL | Bell +351+02+321006
/ \ / \
O O O "Let the good times roll..."
- Raw text -