Message-Id: <200008082101.RAA13960@delorie.com> Date: Wed, 09 Aug 2000 00:04:17 +0200 To: per-olof DOT danielsson AT hem-pc DOT bip DOT net X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b From: "Eli Zaretskii" CC: djgpp AT delorie DOT com In-reply-to: <01c00177$c7e6c6a0$7cf9143e@default> (per-olof DOT danielsson AT hem-pc DOT bip DOT net) Subject: Re: Installation problems of gcc on Windows95 References: <01c00177$c7e6c6a0$7cf9143e AT default> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Per-Olof Danielsson" > Date: Tue, 8 Aug 2000 22:32:33 +0200 > > I've tried to install gcc on my computer which works under Windows95. I = > know what the problem is but not how to solve it. The problem is = > described in chapter 6.6 in FAQ, but I can't still solve it. At = > compilation I get the error message "Error in DJGPP installation. = > Environment variable DJGPP is not defined." I'm not too good at DOS, but = > I work more with unix, so maybe some statement is wrong in my files. The = > files look like this. I don't see anything wrong with your AUTOEXEC.BAT, except that it calls two batch files which you didn't show: pipost.bat and paprfix.bat. If one of these does something that prevents the rest of AUTOEXEC.BTA from running, the last two lines which DJGPP needs will never be executed. So one thing to try is to put those two lines right at the beginning of AUTOEXEC.BAT, after the line which runs SCANPM.EXE, reboot the machine, and see if that helps. If it didn't help, try typing this two commands from the command line in a DOS box: set DJGPP=C:\DJGPP\DJGPP.ENV set PATH=C:\DJGPP\BIN;%PATH% Then try to compile some program from the same DOS box. Failing all of the above, type "set", press [Enter], and post here everything that this prints.