www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/17/07:45:31

From: "Rylan" <rylan AT intekom DOT co DOT za>
Newsgroups: comp.os.msdos.djgpp
Subject: Getting the GCC version
Date: Wed, 16 Sep 1998 07:52:01 +0200
Organization: The South African Internet Exchange
Lines: 12
Message-ID: <6tnk2o$7vm$5@news2.saix.net>
Reply-To: "Rylan" <rylan AT inbtekom DOT co DOT za>
NNTP-Posting-Host: pc25-01-p07.saix.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019