Mail Archives: djgpp/2002/12/14/21:00:28
Eli Zaretskii wrote:
>
> > From: CBFalconer <cbfalconer AT yahoo DOT com>
> > Newsgroups: comp.os.msdos.djgpp
> > Date: Sat, 14 Dec 2002 15:09:24 GMT
> > >
> > > C:\Programme\djgpp\projects>a
> > ^^^^^^^^^
> > > Exiting due to signal SIGSEGV
> > > General Protection Fault at eip=00003180
> > > eax=00000000 ebx=000084f9 ecx=00000000 edx=76202000 esi=00000054 edi=000656c4
> > > ebp=000e5668 esp=000e5630 program=C:\PROGRA~1\DJGPP\PROJECTS\A.EXE
> > ^^^^^^^^
> > What is this? Indication of some filename setup mixup, or
> > installation under the ridiculous Windoze "\Program files\"
> > directory, etc.
>
> When a DOS program is invoked on Windows, Windows replaces the long
> name of every directory in its path with the short 8+3 alias, and
> that's what the program gets in its argv[0]. The DJGPP crash message
> uses argv[0] to print the program's name, thus the horribly ugly file
> name above. (We could convert that to the original long name, but the
> code to do that is non-trivial, and thus it was deemed unwise to run
> it when the program has crashed and its core data structures might be
> corrupted.)
What I was pointing out was that the PROGRA~1 directory usually
pre-exists on every windows machine, because the Microsloth
installation makes it out of the 'program files' directory. I
think the OP thinks he is operating under some 'programme'
directory, and he probably isn't.
--
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE worldnet address!
- Raw text -