Mail Archives: djgpp/1996/10/19/16:32:16
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 -