Date: Wed, 4 Mar 1998 10:43:14 +0200 (IST) From: Eli Zaretskii To: "Jonathan Glenn L. Ocab" cc: djgpp AT delorie DOT com Subject: Re: GCC or GXX In-Reply-To: <6dioj4$bvq@bgtnsc02.worldnet.att.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 3 Mar 1998, Jonathan Glenn L. Ocab wrote: > Ok, I've been using DJGPP for only a couple of months, and I was wondering > why the "gcc" command doesn't work. The FAQ said to try GXX and that works > just fine. GCC always tells me that iostream.h, iomanip.h, stdlib.h, etc. > can't be found, while gxx compiles just fine. Anyone know why? How did you call your source files? Are they *.c or *.cc/*.cpp? GCC uses the extension to decide in what include directories to look. *.c is C program, so it never looks in C++ include directories.