Mail Archives: djgpp/1998/01/05/21:12:19
At 06:20 1/5/1998 GMT, Upgrade wrote:
>Hello
> I set up djgpp and compiled the beginners "Hello World" in C
>and it worked fine. However when I tried it in C++ with the following
>code it then says it can't find this file then that. If I correct the
>path then it is unable to find another file. For Instance; iostream.h
>is in \lang\cxx then when it tries to link to stdarg.h it can't find
>it. It's in \include.
>
>#include <iostream.h>
>
>
>int main();
>{
>cout <<"Hello World!\n";
> return 0;
>}
>
Please post here the following:
* What gcc prints out when you compile the offending source with the `-v' flag.
* The contents of your environment.
(See FAQ section 6.12 for more details on how to get these.)
Also check the following:
* Be sure you have not modified DJGPP.ENV. If you have, replace it with the
file from the djdev* package.
* Be sure you have downloaded and correctly installed the necessary C++ files.
Nate Eldredge
eldredge AT ap DOT net
- Raw text -