delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/22/00:37:45

Sender: nate AT cartsys DOT com
Message-ID: <3564FEF6.F8E3742A@cartsys.com>
Date: Thu, 21 May 1998 21:28:38 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
MIME-Version: 1.0
To: Andreas Larsson <m-12838 AT mailbox DOT swipnet DOT se>
CC: djgpp AT delorie DOT com
Subject: Re: problem when compiling
References: <895754488 DOT 475356 AT nn1>

Andreas Larsson wrote:
> 
> 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)
                   ^^^^^^^^^
I assume that is a typo.

> 
> The file (A.CPP) looks like this:
> 
>         #include <iostream.h>
>         main()
>         {
>                 cout << "hello";
>         }
> 
> What am I doing wrong ?

Did you set your environment variables in AUTOEXEC.BAT? See README.1ST.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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