delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/04/03:43:09

Date: Wed, 4 Mar 1998 10:43:14 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Jonathan Glenn L. Ocab" <ocabj AT worldnet DOT att DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: GCC or GXX
In-Reply-To: <6dioj4$bvq@bgtnsc02.worldnet.att.net>
Message-ID: <Pine.SUN.3.91.980304104201.6541Q-100000@is>
MIME-Version: 1.0

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019