Mail Archives: djgpp/1998/01/27/14:16:41
Jim Brooks wrote:
>
> I installed djgpp and rhide. when i entered the standard c hello world,
> it compiled and ran without problems. However when I tried a C++
> version, the compiler couldn't find iostream.h. I added an included
> reference to it in lang\cxx but now a large number of errors are
> reported. All suggestions/comments greatfully accepted.
> Jim Brooks
To compile C++ programs:
- Download and install the C++ packages (gpp2721b.zip and
lgp271b.zip).
- Name your programs with a valid C++ extension (.C, .cc, .cpp).
- Use 'gxx' to compile your programs, or add the C++ libraries
(-liostr, -lstdcx) manually.
If those steps don't work, something is wrong with your configuration.
Please read chapter 6 of the DJGPP Frequently Asked Question list to
find comprehensive answers, and see chapter 6.12 for information on how
to properly send a system report so we can figure out what's wrong.
hth
--
---------------------------------------------------------------------
| John M. Aldrich | "If 'everybody knows' such-and-such, |
| aka Fighteer I | then it ain't so, by at least ten |
| mailto:fighteer AT cs DOT com | thousand to one." |
| http://www.cs.com/fighteer | - Lazarus Long |
---------------------------------------------------------------------
- Raw text -