Mail Archives: djgpp/2002/02/05/14:45:27
Hello! I have a problem with gcc : when trying to compile it tells me that : "Environment variable DJGPP points to corrupt file 'C:\DJGPP.ENV'." a I don't understand what that means...( I'm french)
Please help me I desperateely need to compile...
I thank u by advance.
Sebastien Manite
Here are the files needed
CONTENS OF environ.txt :
TMP=C:\WINDOWS\TEMP
TEMP=C:\WINDOWS\TEMP
PROMPT=$p$g
winbootdir=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
SBPCI=C:\PROGRA~1\CREATIVE\AUDIO\DOSDRV
DJGPP=C:\DJGPP.ENV
PATH=C:\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND
windir=C:\WINDOWS
BLASTER=A220 I7 D1 H7 P330 T6
CMDLINE=gcc -ansi -Wall -o care2.exe care2.c
CONTENTS OF go32-v2 :
C:\DJGPP\bin>go32-v2
go32/v2 version 2.0 built Dec 24 2001 21:25:02
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=y in the environment to get verbose output.
DPMI memory available: 188212 Kb
DPMI swap space available: 70356 Kb
CONTENTS OF THE AUTOEXEC.bat
SET BLASTER=A220 I7 D1 H7 P330 T6
SET SBPCI=C:\PROGRA~1\CREATIVE\AUDIO\DOSDRV
mode con codepage prepare=((850) C:\WINDOWS\COMMAND\ega.cpi)
mode con codepage select=850
keyb fr,,C:\WINDOWS\COMMAND\keyboard.sys
SET DJGPP=C:\DJGPP.ENV
SET PATH=C:\DJGPP\BIN;%PATH%
CONTENTS OF THE CONFIG.sys
DEVICE=C:\WINDOWS\HIMEM.SYS
DEVICE=C:\WINDOWS\EMM386.EXE
DEVICE=C:\WINDOWS\setver.exe
device=C:\WINDOWS\COMMAND\display.sys con=(ega,,1)
Country=033,850,C:\WINDOWS\COMMAND\country.sys
PROBLEM :
C:\DJGPP>gcc -ansi -Wall -o care2.exe care2.c
gcc.exe: Environment variable DJGPP points to corrupt file 'C:\DJGPP.ENV'.
C:\DJGPP>gcc -ansi -Wall -o -v care2.exe care2.c
gcc.exe: Environment variable DJGPP points to corrupt file 'C:\DJGPP.ENV'.
- Raw text -