www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/22/11:12:21

Date: Tue, 23 Apr 1996 01:47:09 +1000
From: root <root AT linuxbox DOT nse DOT com DOT au>
Message-Id: <199604221547.BAA05718@linuxbox.nse.com.au>
To: djgpp AT delorie DOT com
Subject: C++ compiling
Reply-To: naderr AT topaz DOT cqu DOT edu DOT au


Hi,

all those makefile "nasties" put aside :)

Now I have the problem that I can not compile C++

I have a simple hellocpp.cc 

#include <iostream.h>

int main(void)
{
	cout << "Hello from a C++ program" << endl;
	return (0);
}

and from the command line I try ...

gcc hellocpp.cc -I\djgpp\lang\cxx hellocpp.cc -o hellocpp.exe

Yet it fails to find those C++ header files that live in
\djgpp\lang\cxx


Any ideas greatly appreciated.


	Rob -

- Raw text -


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