Mail Archives: djgpp/1994/07/26/15:26:30
> Segmentation violation in pointer 0xa018e0e7 at d8:900000a8
> eax=00387088 ebx=e00b8000 ecx=00000000 edx=0001cfe8
> esi=0000002a edi=e001e075
> ebp=e00b8000 esp=9ffffff4 cs=d8 ds=48 es=48 fs=48 gs=38
> ss=48 cr2=0000e0e7
>
> Call frame taceback EIPs:
> 0x900000a8
> 0x076c076f
This is due to a bug in the -N output of ld. I've fixed this for
1.12, but there's currently no workaround unless you work up a custom
link script for ld.
> 1. Which version of djgcc compiler I should use to build
> v1.11 stuff.
The one that comes with it, of course. That's what I use.
> 2. If djgcc is capable of making such a file, what compiler
> directive(s) should I use to make that file compatible
> with go32 / debug32 / gdb?
The go32/ed Makefile has the right switches. Try removing the "-N"
(but leave in the -Txxxx).
> 3. How can I load a UNIX gcc compiled file into gdb?
If the unix you use supports COFF with underscores, it will just work.
Basically, you need a unix->djgpp cross-development environment.
- Raw text -