www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/07/19/18:25:28

Date: Tue, 19 Jul 1994 18:03:48 -0400 (EDT)
From: Edwin Phillips <flaregun AT strauss DOT udel DOT edu>
Subject: Re: C++ Installation
To: Minsoo Kim <mk147 AT columbia DOT edu>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

On Tue, 19 Jul 1994, Minsoo Kim wrote:

> I have two beginners' questions:
> 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?
> B. I pkunzipped the required zip files, the gpp and GRX files, then the
> 5 maints. Is this the correct order?
> 

  Use the extension .cc on your C++ code.  gcc defaults to C compiling 
when it sees the .c extension.  Also, set your CPLUSINC environment 
variable to be something like:

set CPLUSINC=c:/djgpp/include;c:/djgpp/cplusinc

  Happy compiling,

	Ed

/****************************************************************************/
/* Ed Phillips  flaregun AT strauss DOT udel DOT edu      University of Delaware       */
/* Jr Systems Programmer  (302) 831-6082    IT/Network and Systems Services */
/****************************************************************************/


- Raw text -


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