Mail Archives: djgpp/1998/09/17/07:45:31
Hi,
I am wondering - is there a command line switch I can call GCC with that
will identify the GCC version - I think I still have an older one and I just
want to check if this so - I then want to go to 2.8.1 if I am behind - how
can I check my current GCC's version?
--
Spawned By Rylan
Is truth beauty or beauty truth?
> eax=00000000 ebx=000900af ecx=000000a0 edx=00000000 esi=00000020
> > edi=000190a0
> > ebp=0008d898 esp=0008d886 program=C:\NICK\DJGPP\GAME\TEST.EXE
> > cs: sel=00a7 base=82739000 limit=0019ffff
> > ds: sel=00af base=82739000 limit=0019ffff
> > es: sel=00cf invalid
> > fs: sel=00bf base=00000000 limit=ffffffff
> > gs: sel=00bf base=00000000 limit=ffffffff
> > ss: sel=00af base=82739000 limit=0019ffff
> >
> > Call frame traceback EIPs:
> > 0x00092b08
>
I recently encountered a similar problem under Allegro while doing graphics
programming using NASM (a so called "demo") - I found that any compound
instructions such as LODS STOS etc. where a no no - Allegro didn't seem to
like me putting ANY descriptor other than the default one in DS - some of
the compound instructions use DS as an implied "segment" register and all
Allegro functions want valid descriptors (to Allegro, not DPMI "valid") in
DS - so I rewrote my code to use my own versions of the compound
instructions - LODSB becomes mov al,[es:si] inc esi - +- - try it and see if
the problem goes away.
Spawned By Rylan
Is truth beauty or beauty truth?
- Raw text -