Mail Archives: djgpp/1996/10/17/03:37:37
On Wed, 16 Oct 1996, Matthias Maisenbacher wrote:
> Problem:
>
> C:\djgpp\test>gxx test.c
> test.c:1: iostream.h: No such file or directory (ENOENT)
You should call C++ source files with a C++ extension, such as .cc
(recommended), .cpp, .cxx etc. The way you do it, GCC thinks this is a C
program, so it never searches the C++ include directories.
More details on this are available in the DJGPP FAQ list (available as
v2/faq202b.zip from the same place you get DJGPP), in sections 8.2 and
8.4; please read them.
- Raw text -