www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/08/01/14:46:16

From: "Manuel Vicente" <falozano AT usc DOT es>
To: <djgpp AT delorie DOT com>
Subject: Gcc crashes
Date: Wed, 1 Aug 2001 19:00:34 +0200
Message-ID: <NDBBKOHAOKFIOBJFPDDOEEDICBAA.falozano@usc.es>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Reply-To: djgpp AT delorie DOT com

This is a multi-part message in MIME format.

------=_NextPart_000_0000_01C11ABC.3E7FA0D0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Dear gcc-guru:

I have just re-installed my djgpp gcc and now I'm not capable of compiling
anything, even a simple program who prints "Hello". I have already read the
FAQs but I haven't solved the problem yet.

I send you as an attachment the environment variables, the output of the
go32-v2 program, the error message and even the original program. I hope you
can help me, I am really in a hurry.

I think that the enviroment variables are correct, and my gcc is installed
in e:\djgpp.

The operating system I use is Windows 2000 professional and I have already
had the gcc installed but now it doesn't work.


Thank you very much in advance.

Waiting your reply,

Manuel Vicente
Spain.

------=_NextPart_000_0000_01C11ABC.3E7FA0D0
Content-Type: text/plain;
	name="environ.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="environ.txt"

ALLUSERSPROFILE=3DE:\Documents and Settings\All Users
APPDATA=3DE:\Documents and Settings\manolo\Datos de programa
CMDLINE=3Dnotepad hello.c
CommonProgramFiles=3DE:\Archivos de programa\Archivos comunes
COMPUTERNAME=3DFARADAY
ComSpec=3DE:\Util\4NT\4NT.EXE
djgpp=3De:\djgpp\djgpp.env
HOMEDRIVE=3DE:
HOMEPATH=3D\
LOGONSERVER=3D\\FARADAY
NUMBER_OF_PROCESSORS=3D2
OS=3DWindows_NT
Os2LibPath=3DE:\WINNT\system32\os2\dll;
path=3De:\util\bat;e:\djgpp\bin;E:\WINNT\system32;E:\WINNT;E:\WINNT\Syste=
m32\Wbem;E:\ARCHIV~1\ULTRAE~1;e:/DJGPP/bin;e:/DJGPP/bin;
PATHEXT=3D.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=3Dx86
PROCESSOR_IDENTIFIER=3Dx86 Family 6 Model 5 Stepping 2, GenuineIntel
PROCESSOR_LEVEL=3D6
PROCESSOR_REVISION=3D0502
ProgramFiles=3DE:\Archivos de programa
SystemDrive=3DE:
SystemRoot=3DE:\WINNT
TEMP=3DE:\WINNT\TEMP
TMP=3DE:\TEMP
USERDOMAIN=3DFARADAY
USERNAME=3Dmanolo
USERPROFILE=3DE:\Documents and Settings\manolo
windir=3DE:\WINNT

------=_NextPart_000_0000_01C11ABC.3E7FA0D0
Content-Type: application/octet-stream;
	name="errors"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="errors"

Reading specs from e:/djgpp/lib/specs
gcc version 2.8.1
 e:/djgpp/lib/gcc-lib/djgpp/2.81/cpp.exe -lang-c -v -undef =
-D__GNUC__=3D2 -D__GNUC_MINOR__=3D8 -Dunix -Di386 -DGO32 -DMSDOS =
-DDJGPP=3D2 -DDJGPP_MINOR=3D1 -D__unix__ -D__i386__ -D__GO32__ =
-D__MSDOS__ -D__DJGPP__=3D2 -D__DJGPP_MINOR__=3D1 -D__unix -D__i386 =
-D__GO32 -D__MSDOS -D__DJGPP=3D2 -D__DJGPP_MINOR=3D1 hello.c =
e:/djgpp/tmp/ccaahknj
GNU CPP version 2.8.1 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 e:/djgpp/include
 e:/djgpp/lib/gcc-lib/djgpp/2.81/include
 e:/djgpp/include
End of search list.
 e:/djgpp/lib/gcc-lib/djgpp/2.81/cc1.exe e:/djgpp/tmp/ccaahknj -quiet =
-dumpbase hello.c -version -o e:/djgpp/tmp/ccbahknj
GNU C version 2.8.1 (djgpp) compiled by GNU C version 2.8.1.
 e:/djgpp/bin/as.exe -o e:/djgpp/tmp/cccahknj e:/djgpp/tmp/ccbahknj
 e:/djgpp/bin/ld.exe -o hello e:/djgpp/lib/crt0.o -Le:/djgpp/lib =
-Le:/djgpp/lib/gcc-lib/djgpp/2.81 -Le:/djgpp/lib e:/djgpp/tmp/cccahknj =
-Tdjgpp.djl -lgcc -lc -lgcc
Exiting due to signal SIGSEGV
General Protection Fault at eip=3D0002f768
eax=3Dff990000 ebx=3D00000000 ecx=3D000001ea edx=3Dff990000 =
esi=3D00001000 edi=3D00000009
ebp=3D00093430 esp=3D00093420 program=3De:/djgpp/bin/ld.exe
cs: sel=3D026f  base=3D01ea0000  limit=3D7e14ffff
ds: sel=3D0277  base=3D01ea0000  limit=3D7e14ffff
es: sel=3D0277  base=3D01ea0000  limit=3D7e14ffff
fs: sel=3D0247  base=3D0000b490  limit=3D0000ffff
gs: sel=3D0287  base=3D00000000  limit=3D000fffff
ss: sel=3D0277  base=3D01ea0000  limit=3D7e14ffff

Call frame traceback EIPs:
  0x0002f768
  0x0002f6e5
  0x0002e7b2
  0x0000fae4
  0x0000fb78
  0x000100cb
  0x0001048c
  0x000104f8
  0x00012636
  0x00020ed4
  0x0000755c
  0x00007990
  0x000093f5
  0x0000acba
  0x0002eeba

------=_NextPart_000_0000_01C11ABC.3E7FA0D0
Content-Type: application/octet-stream;
	name="go32-v2.out"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="go32-v2.out"

go32/v2 version 2.0 built Aug 12 1996 22:27:23
Usage: go32 coff-image [args]
Rename this to go32.exe only if you need a go32 that can run v2 binaries =
as
 well as v1 binaries (old makefiles).  Put ahead of the old go32 in your =
PATH
 but do not delete your old go32 - leave it in the PATH after this one.
Set GO32_V2_DEBUG=3Dy in the environment to get verbose output.

DPMI memory available: 35559 Kb
DPMI swap space available: 0 Kb

------=_NextPart_000_0000_01C11ABC.3E7FA0D0
Content-Type: application/octet-stream;
	name="hello.c"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="hello.c"

#include <stdio.h>

main()
{
printf ("Hello world");
}


------=_NextPart_000_0000_01C11ABC.3E7FA0D0--

- Raw text -


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