Date: Tue, 21 Oct 1997 18:49:07 -0700 (PDT) Message-Id: <199710220149.SAA19082@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Chris Thompson , Unknown From: Nate Eldredge Subject: Re: Still can't sort out this set-up on Win 3.1 Precedence: bulk At 05:49 10/21/1997 -0400, Chris Thompson wrote: >Hi, > >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__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=7 -Dunix -Di386 -DGO32 -DMSDOS -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__unix -D__i386 -D__GO32 -D__MSDOS -Asystem(unix) -Asystem(msdos) -Acpu(i386) -Amachine(i386) -g -Wall ex_1_01.cpp C:\TMP\ccbaaaaa >GNU CPP version 2.7.2 (80386, BSD syntax) >#include "..." search starts here: >#include <...> search starts here: > /usr/local/lib/g++-include > /usr/local/include > /usr/local/go32/include > /usr/local/lib/gcc-lib/go32/2.7.2/include > /usr/include >End of search list. >ex_1_01.cpp:1: iostream.h: No such file or directory (ENOENT) Do the following: Make sure you have the C++ libraries installed. Complile with "gxx" instead of "gcc". Check that your DJGPP environment variable is set correctly, see README.1ST. Name your object files with a `.o' extension to avoid confusion with standard DOS object files. HTH Nate Eldredge eldredge AT ap DOT net