delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/06/13:15:03.1

Message-ID: <3AF62EB7.82D0792F@earthlink.net>
From: Martin Ambuhl <mambuhl AT earthlink DOT net>
X-Mailer: Mozilla 4.76 [en] (Win95; U)
X-Accept-Language: en,zh-CN,fr,de-CH,ru
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: need help
References: <F154ICI4GcMvnamiODN000018f3 AT hotmail DOT com>
Lines: 12
Date: Sun, 06 May 2001 17:10:29 GMT
NNTP-Posting-Host: 209.246.103.187
X-Complaints-To: abuse AT earthlink DOT net
X-Trace: newsread1.prod.itd.earthlink.net 989169029 209.246.103.187 (Sun, 06 May 2001 10:10:29 PDT)
NNTP-Posting-Date: Sun, 06 May 2001 10:10:29 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net
X-Received-Date: Sun, 06 May 2001 10:08:54 PDT (newsmaster1.prod.itd.earthlink.net)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Rain dont have one wrote:
> 
> this is what the message says but the file it says it cant find is in the
> same folder!!!
> 
> C:\>gcc hello.cpp -o hello.exe -lm
> In file included from hello.cpp:1:
> c:/djgpp/lang/cxx/iostream.h:31: streambuf.h: No such file or directory
> (ENOENT)

You are trying to compile and link C++ code as C.  See your documentation for
details on using gpp instead of gcc

- Raw text -


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