Date: Mon, 17 Apr 2000 17:41:06 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Osah cc: djgpp AT delorie DOT com Subject: Re: Gpp compiler In-Reply-To: <8df1m9$q93$1@news1.sunrise.ch> 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 Mon, 17 Apr 2000, Osah wrote: > First command line statement i entered: > > gcc bfcomp.cpp -v -o bfcomp.exe -lstdcxx This command is correct (although I'd advise to add -liostream to the end, since this is GCC 2.8.1). > GNU CPP version 2.8.1 (80386, BSD syntax) > #include "..." search starts here: > #include <...> search starts here: > c:/txg/progra~1/games/djgpp/lang/cxx > c:/txg/progra~1/games/djgpp/include > c:/txg/progra~1/games/djgpp/lang/cxx > c:/txg/progra~1/games/djgpp/lib/gcc-lib/djgpp/2.81/include > c:/txg/progra~1/games/djgpp/include > End of search list. > In file included from c:/txg/progra~1/games/djgpp/lang/cxx/vector:30, > from bfcomp.cpp:3: > c:/txg/progra~1/games/djgpp/lang/cxx/stlalgobase.h:52: new.h: No such file > or directory (ENOENT) Do you see the file new.h *anywhere* under the lang/cxx directory? Do you still have on your machine the *.zip files that you downloaded when you installed DJGPP? If so, please tell what zip files did you download, exactly. (I suspect that you have some version mixup.) Also, if you have those zip files, please look inside gppNNNb.zip and lgpNNNb.zip (where NNN is the version number) and tell whether the file new.h is in any of them. > Second command entered: > gpp -v -c bfcomp.cpp > > Output + Error message: Identical to one received above That is expected: the problem is during compilation, not linking. > I tried it with gcc and got the same results.... Also expected, for the same reason. The problem to solve is: where is new.h, and why the compiler doesn't find it.