delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/05/14:45:27

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Tue, 05 Feb 2002 14:41:39 EST
From: Mrwind2 AT aol DOT com
Subject: PLEEAASE HELP MEE!!!
To: <djgpp AT delorie DOT com>
Mime-Version: 1.0
X-Mailer: Unknown (No Version)
Message-ID: <24.206dc60d.29918f74@aol.com>
Reply-To: djgpp AT delorie DOT com

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 -


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