www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/21/08:48:01

From: m-12838 AT mailbox DOT swipnet DOT se (Andreas Larsson)
Newsgroups: comp.os.msdos.djgpp
Subject: problem when compiling
Date: 21 May 1998 12:41:29 GMT
Organization: Privat
Lines: 21
Message-ID: <895754488.475356@nn1>
NNTP-Posting-Host: nn1.swip.net
Mime-Version: 1.0
Cache-Post-Path: nn1!s-12838 AT dialup163-2-53 DOT swipnet DOT se
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I have just downloaded and installed DJGPP 2, and I am trying to compile the 
smallest program I can think of, just to test things. The IOSTREAM.H-file is 
located in the same directory as the GCC.EXE-file
This is what I type:

	gcc a.cpp

I keep on getting this error message every time:

	a.cpp:1: iostrem.h No such file or directory (ENOENT)

The file (A.CPP) looks like this:

	#include <iostream.h>
	main()
	{
	        cout << "hello";
	}

What am I doing wrong ?

- Raw text -


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