Date: Wed, 22 Oct 1997 10:34:02 +0200 (IST) From: Eli Zaretskii To: Chris Thompson cc: Unknown Subject: Re: Still can't sort out this set-up on Win 3.1 In-Reply-To: <199710211749_MC2-24AC-F51B@compuserve.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 21 Oct 1997, Chris Thompson wrote: > I have down loaded djgpp, and installed it (correctly I assume), > but when I try to run it, I get the following: > > C:\DATA\UNI\SFT_IMP1>gcc -Wall -v -g -c ex_1_01.cpp -o ex_1_01.obj > gcc version 2.7.2 > cpp -lang-c++ -v -undef -D__GNUC__=3D2 -D__GNUG__=3D2 -D__cplusplus -D__= > GNUC_MINOR__=3D7 -Dunix -Di386 -DGO32 -DMSDOS -D__unix__ -D__i386__ -D__G= > O32__ -D__MSDOS__ -D__unix -D__i386 -D__GO32 -D__MSDOS -Asystem(unix) -As= > ystem(msdos) -Acpu(i386) -Amachine(i386) -g -Wall ex_1_01.cpp C:\TMP\ccba= > aaaa This clearly shows that your DJGPP environment variable is set incorrectly... > SET DJGPP=C:\DJGPP\DJGPP.EXE ^^^^^^^^^ ...and this explains it. You need to say SET DJGPP=C:\DJGPP\DJGPP.ENV (note the .ENV extension!). > I have read & re-read the FAQ's (for hours) and still I can't pinpoint > the problem. The FAQ explains this in section 8.1. Did you miss that section? > I have also included a copy of my autoexec.bat file just > for laughs. It's not laughable at all; posting the trace of gcc -v and the autoexec.bat file will in most cases get your problems solved very efficiently.