Date: Thu, 17 Oct 1996 09:08:25 +0200 (IST) From: Eli Zaretskii To: Matthias Maisenbacher Cc: djgpp AT delorie DOT com Subject: Re: include files not found by gxx In-Reply-To: <1996Oct16.143646.25580@fr.bosch.de> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.