delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/19/16:32:16

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: djgpp
Date: Sat, 19 Oct 1996 12:27:04 -0700
Organization: Three pounds of chaos and a pinch of salt
Lines: 33
Message-ID: <32692B87.546@cs.com>
References: <32683BE6 DOT 46DC AT mailhost DOT wlc DOT com>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp106.cs.com
Mime-Version: 1.0
To: David Marotto <dmarotto AT mailhost DOT wlc DOT com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

David Marotto wrote:
> 
> I have run into a major problem trying to get djgpp working.  When I
> try to compile a file using #include <iostream.h> it flashes an error
> message unknown file or directory or something like that.  I know I have
> Iostream.h and when I tried some other include files the same thing
> happened.  What directory should these files be in or how can I direct
> the compiler to these files.

You've got to tell the compiler that you are compiling a C++ program by
naming it with a .cc or .cpp suffix.  Also make sure that your DJGPP
environment is set up according to the instructions in 'readme.1st'. 
There are some other possible causes for the error, but your question
isn't specific enough for a specific diagnosis.

Please download the latest version of the DJGPP Frequently Asked
Questions List (v2/faq202b.zip) from SimTel and peruse the chapter on
compile-time errors - it tells you exactly what to do when you have
similar problems to the above.  Please also note the instructions in
section 6.12, which tell you the format you need to follow when posting
a configuration question to the newsgroup.  Thank you.

John

-- 
John M. Aldrich, aka Fighteer I <fighteer AT cs DOT com>

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d- s+:- a-->? c++>$ U@>++$ p>+ L>++ E>+ W++ N++ o+ K? w(---) O-
M-- V? PS+ PE Y+ PGP- t+(-) 5- X- R+ tv+() b+++ DI++ D++ G e(*)>++++
h!() !r !y+()
------END GEEK CODE BLOCK------

- Raw text -


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