This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Re: iostream header missing?
- To: glibc-linux at ricardo dot ecn dot wfu dot edu
- Subject: Re: iostream header missing?
- From: Gael Queri <gqueri at mail dot dotcom dot fr>
- Date: Sat, 17 Jun 2000 18:28:48 +0200
- References: <20000617133137.A16815@aardvark.uz.ac.zw>
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
On Sat, Jun 17, 2000 at 01:31:15PM +0200, Gerald Marewo wrote:
> Hi all.
>
> Here is a simple c program I tried compiling and it failed:
>
> #include <iostream>
> main() {
> cout << "Hello, world!" << endl;
> }
It's not C, but C++, a totally different language.
>
> The output I got is follows:
>
> t.cpp:1: iostream: No such file or directory
>
> The version of gcc I am using is:
>
> Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2.1/specs
> gcc version 2.7.2.1
Well, I suppose it's on the README of octave but your g++ is too old
(supposing it's the same as gcc ; isn't there an egcs or eg++ command ?)
It predates the 1997 ANSI C++ standard.
So you should update to something more recent, like gcc-2.95.2
The homepage is at http://sourceware.cygnus.com/gcc/
regards, gael