Mail Archives: djgpp/2002/08/31/21:45:15
From: | "Alaeddin A. Aydiner" <aydiner AT uiuc DOT edu>
|
Subject: | DJGPP gpp 3.1 complaining about missing c++config.h
|
Newsgroups: | comp.os.msdos.djgpp,comp.os.msdos.misc
|
User-Agent: | Pan/0.11.3 (Unix)
|
Mime-Version: | 1.0
|
X-Comment-To: | ALL
|
Lines: | 52
|
Message-ID: | <h8ec9.15519$m7.142706@vixen.cso.uiuc.edu>
|
Date: | Sat, 31 Aug 2002 20:25:45 -0500
|
NNTP-Posting-Host: | 128.174.115.108
|
X-Complaints-To: | abuse AT uiuc DOT edu
|
X-Trace: | vixen.cso.uiuc.edu 1030844045 128.174.115.108 (Sat, 31 Aug 2002 20:34:05 CDT)
|
NNTP-Posting-Date: | Sat, 31 Aug 2002 20:34:05 CDT
|
Organization: | University of Illinois at Urbana-Champaign
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Hello,
As far as I have searched, the answer is not in the FAQ. However, people
would complain about this immediately, I guess. Any idea what I am doing
wrong? The following C code compiles and runs fine:
C:\TMP>cat try.c
#include <stdio.h>
int main() {
printf("Test\n");
}
whereas the following C++ equivalent does not:
C:\TMP>cat try2.cc
#include <iostream>
int main() {
std::cout << "Test\n";
}
The first reported error is:
In file included from try2.cc:1:
c:/djgpp/lang/cxx-v31/iostream:44:28: bits/c++config.h: No such file or
directory (ENOENT) In file included from c:/djgpp/lang/cxx-v31/ios:44,
from c:/djgpp/lang/cxx-v31/ostream:45, from
c:/djgpp/lang/cxx-v31/iostream:45, from try2.cc:1:
Indeed, it does not seem to be there. Do I need to include djgpp\bits?
Also, to compile a numerical package I have under DOSEMU, do I need to
rename every source file to fit the 8.3 format and regenerate my configure
script by autoconf/make?
Thanks.
C:\>ver
DOSEMU built-in command.com version 1.0
DOSEMU version is 1.0.2.1,2001/10/13
FreeDOS kernel version 1.1.26 [Feb 17 2002 10:54:23]
XX-DOS version reported is 5.0
bash-2.04$ ls manifest/
bnu213b.dsm fil41b.dsm gcc31b.mft grep24b.ver sed3028b.ver
bnu213b.mft fil41b.mft gcc31b.ver gwk311b.dsm shar42cb.dsm
bnu213b.ver fil41b.ver gdb511b.dsm gwk311b.mft shar42cb.mft
bsh204b.dsm find41b.mft gdb511b.mft gwk311b.ver shar42cb.ver
bsh204b.mft find41b.ver gdb511b.ver mak3791b.dsm shl2011b.dsm
bsh204b.ver g7731b.dsm gpp31b.dsm mak3791b.mft shl2011b.mft
djdev203.dsm g7731b.mft gpp31b.mft mak3791b.ver shl2011b.ver
djdev203.mft g7731b.ver gpp31b.ver sed3028b.dsm whic211b.mft
djdev203.ver gcc31b.dsm grep24b.mft sed3028b.mft whic211b.ver
- Raw text -