Date: Wed, 4 Oct 2000 08:31:59 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Karsten cc: djgpp AT delorie DOT com Subject: Re: Problems with compilation In-Reply-To: <000a01c02d7d$877f4240$c6d5b43e@karsten> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Tue, 3 Oct 2000, Karsten wrote: > gcc -o hellowo.exe hellowo.cc=20 > > or=20 > > gcc -c hellowo.cc=20 > > I get the error: "No such file or directory " Go to the directory where you are typing these commands, type "dir hellowo*", and tell us what does it print. In particular, make sure the file hellowo.cc is printed. > PATH=3DC:\WINDOWS;C:\WINDOWS\COMMAND;C:\BITWARE\;%PATH%;d:\PROGRA~1\BORLA= > ND\DELPHI4\BIN;D:\PROGRA~1\TCL\bin;D:\DJGPP\BIN This is not very wise: if d:\progra~1\borland\delphi4\bin has some programs whose names are identical to one of the programs in d:\djgpp\bin, you will invoke wrong programs. The usual advice is to put d:\djgpp\bin first in your PATH. > SET PATH=3D%PATH%;C:\PROGRA~1\GEMEIN~1\AUTODE~1;D:\DJGPP\BIN ^^^^^^^^^^^^^ The last part (marked) is redundant. I suggest to remove it. > In file included from hellowo.cc:1: > d:/djgpp/lang/cxx/iostream.h:31: streambuf.h: No such file or directory = > (ENOENT) Set LFN=y in the environment and see if it helps. > The program "go32-v2" does not exist! Are you sure? You should have go32-v2.exe in the d:\djgpp\bin directory. That program comes with djdevNNN.zip archive, so if you don't have it, you might be missing some other files, including iostream.h that the compiler doesn't find. Is there iostream.h on your system in the d:\djgpp\lang\cxx directory?