www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/07/19/16:27:33

Date: Tue, 19 Jul 94 15:51:58 -0400
From: dj AT ctron DOT com (DJ Delorie)
To: mk147 AT columbia DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: C++ Installation

> A. After I pkunzipped gpp257.zip, I wrote a tiny test program cc.c:
> 	#include <iostream.h>
> 	main()
> 	{     
> 		cout << "Test.";
> 	}
> After I did gcc cc.c, I received :"IOSTREAM.H :file not found." I
> noticed that the C++ include files were in the directory \CPLUSINC.
> Should I "manually" move these files to the \INCLUDE
> directory, change AUTOEXEC.BAT, or is there a third way to install?

You are asking gcc to compile a C program (cc.c) not a C++ program
(cc.cc).  The C++ headers are not available when you are not compiling
a C++ program.

> B. I pkunzipped the required zip files, the gpp and GRX files, then the
> 5 maints. Is this the correct order?

Yup.


- Raw text -


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