From: Donald Manley Newsgroups: comp.os.msdos.djgpp Subject: Re: enviroment variable Date: Sat, 12 Sep 1998 21:09:03 -0700 Organization: Pacific Bell Internet Services Lines: 34 Message-ID: <35FB455F.61B882F9@pacbell.net> References: <35FA7599 DOT A51D899D AT nceye DOT net> NNTP-Posting-Host: ppp-207-215-86-244.scrm01.pacbell.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk reboot you may have added it to the autoexect.bat or the config file but it's not added to the computer memory untill you either reboot or put the line in the dos prompt... Alex wrote: > Hi, > please help me. I'm a student and there s no mmachine in my school's > academic lab, that have compilers for C++ (only for Java). There are > some in department lab, which is almost always closed. I downloaded the > whole DJGPP distribution and unziped them to DJGPP dir. go32-v2.exe > displayed (running Win95, 486/133MMhz + 24 RAM > DPMI memory available: 17303 kb > DPMI swap space available: 4341 kb > I also installed (well, just unziped) rhide IDE with its GUI. > Next thing I did, I added this to my autoexec.bat: > set DJGPP=F:\DJGPP\DJGPP.ENV > set PATH=F:\DJGPP\BIN;%PATH% > and tried to compile a basic multiplication program (7 lines) and ve got > this message at the bottom of the Rhide's GUI: > Compiling: F:/DJGPP/bin/test.cpp > Error in DJGPP instalation > Enviroment variable DJGPP is not defined > There were some errors > > Then I tried to add a line DJGPP=DJGPP\DJGPP.ENV and other various > things, but still get that same message. Please, help me. I have > assignment for this Wednesday to write a prog. for checking account and > don't know what to do. > I'd very appreciate any advice, or whatever.. Thanks