delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/11/11/00:45:54

NNTP-Posting-Date: Sun, 10 Nov 2002 23:33:25 -0600
From: Charles Wilkins <chas AT pcscs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: gcc-2.95.3 and iostream.h not found
Date: Mon, 11 Nov 2002 00:35:21 -0500
Message-ID: <p1gusugpa01sp0rjhnqtbqjq2qp7l4r7n1@4ax.com>
X-Newsreader: Forte Agent 1.92/32.570
MIME-Version: 1.0
Lines: 31
NNTP-Posting-Host: 68.45.75.113
X-Trace: sv3-V9yVQMj3lEhd37dj0Kt18G41jPg++UH2CDaqWMNQXy3DLntYd9hHTEw6hbtt0DV6dxIGnCSSn1H8KfF!wl5HdWWbG55OOUMIJCbwuZmtdRFIsZLvquPFRn0KTYFU24Je8zni/e33afJTsJhAqTAR8wY=
X-Complaints-To: abuse AT comcast DOT com
X-DMCA-Complaints-To: dmca AT comcast DOT net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.1
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I just built a linux host cross compiler with gcc-2.95.3 sources and
went to test the  i686-pc-msdosdjgpp-g++ compiler.

Here is my program:

#include <iostream>

int main() {
    std::cout << "Welcome to GNU C++ for Linux programming!" <<
std::endl;
	return 0;
}

When I try to compile, I get this error message...

In file included from welcome.cpp:1:
/usr/local/compiler/cross3/djgpp/lib/gcc-lib/i686-pc-msdosdjgpp/2.95.3/../../../../include/g++-3/iostream:6:
iostream.h: No such file or directory

I have also tried the deprecated header <iostream.h> and it does the
same thing.  

What do I need to do, to fix this?

I do not seem to have an iostream.h anywhere in the installed compiler
tree.

Thank you,
Charles


- Raw text -


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