Sender: nate AT cartsys DOT com Message-ID: <3564FEF6.F8E3742A@cartsys.com> Date: Thu, 21 May 1998 21:28:38 -0700 From: Nate Eldredge MIME-Version: 1.0 To: Andreas Larsson CC: djgpp AT delorie DOT com Subject: Re: problem when compiling References: <895754488 DOT 475356 AT nn1> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Andreas Larsson wrote: > > I have just downloaded and installed DJGPP 2, and I am trying to compile the > smallest program I can think of, just to test things. The IOSTREAM.H-file is > located in the same directory as the GCC.EXE-file > This is what I type: > > gcc a.cpp > > I keep on getting this error message every time: > > a.cpp:1: iostrem.h No such file or directory (ENOENT) ^^^^^^^^^ I assume that is a typo. > > The file (A.CPP) looks like this: > > #include > main() > { > cout << "hello"; > } > > What am I doing wrong ? Did you set your environment variables in AUTOEXEC.BAT? See README.1ST. -- Nate Eldredge nate AT cartsys DOT com