Mail Archives: djgpp/2000/04/17/11:13:23
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.
- Raw text -