| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| From: | michi AT flyflaps DOT de (Michael Schuster) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | c++ in dosemu |
| Date: | 13 Dec 2004 09:10:26 -0800 |
| Organization: | http://groups.google.com |
| Lines: | 30 |
| Message-ID: | <f6742f8c.0412130910.20a38061@posting.google.com> |
| NNTP-Posting-Host: | 80.132.122.2 |
| X-Trace: | posting.google.com 1102957826 29405 127.0.0.1 (13 Dec 2004 17:10:26 GMT) |
| X-Complaints-To: | groups-abuse AT google DOT com |
| NNTP-Posting-Date: | Mon, 13 Dec 2004 17:10:26 +0000 (UTC) |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Hello,
I've installed djgpp under linux - dosemu. I want to compile a simple
c++-console app.
I installed all as the readme said, in particular I've payed attention
for the faq 8.3. Anyway I can't get the compiler running.
My testfile
#include <iostream>
int main()
{
using namespace std;
cout<<" Hallo";
}
It says
gxx test.cc
test.cc:1:20: iostream: No such file or directory (ENOENT)
test.cc: In function `int main()':
test.cc:5: error: `cout' undeclared (first use this function)
test.cc:5: error: (Each undeclared identifier is reported only once
for each
function it appears in.)
Any ideas what I might do wrong?
Thanks
Michael
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |