From: amarodeeps AT earthlink DOT net (David DellaCosta) Newsgroups: comp.os.msdos.djgpp Subject: Re: New guy having installation difficulties Date: Sun, 15 Aug 1999 15:26:48 GMT X-ELN-Insert-Date: Sun Aug 15 08:35:10 1999 References: X-Newsreader: Forte Free Agent 1.11/32.235 Organization: EarthLink Network, Inc. X-Posted-Path-Was: not-for-mail Lines: 43 NNTP-Posting-Host: ip142.boston-xcom.ma.pub-ip.psi.net X-ELN-Date: 15 Aug 1999 15:27:21 GMT Message-ID: <37b6db75.479731@news.earthlink.net> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sun, 15 Aug 1999 14:10:41 +0300 (IDT), Eli Zaretskii wrote: > >On Sat, 14 Aug 1999, David DellaCosta wrote: > >> So, I installed djgpp on my Win98 machine, and it's not working. When >> I try to compile a C or C++ file, this is the dialogue: >> >> C:\c++>gxx hello.cc -o hello.exe -lm >> Fatal: Error in DJGPP instalation >> Environment variable DJGPP is not defined > >Note that Windows 98 makes it tricky to find the correct AUTOEXEC.BAT >where the changes should go. Did you follow the instructions that the >zip-picker gave you? By the way, here is what my AUTOEXEC.BAT file looks like, if any one cares to look. Thanks again. -Dave D. @ECHO OFF @C:\PROGRA~1\DRSOLO~1\ANTI-V~1\GUARD.COM /silent /Mode=Disk LH C:\WINDOWS\ASP4DOS.COM SET BLASTER=A220 I5 D3 T4 REM ******************************************************** REM To use the DOS CDROM Driver remove the REM and the space REM from the beginning of the next line. REM LH C:\Windows\command\mscdex.exe /d:MSCD000 /m:10 REM ******************************************************* DJGPP=C:\djgpp\djgpp.env PATH=C:\JDK1.2\BIN; PATH=C:\djgpp\bin;%PATH% -I have had both path statements together, various different capitalizations, and placed the statements in various positions with relationship to each other. Unfortunately, I don't understand well how the AUTOEXEC.BAT file is used, so I'm mostly guessing.