delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/05/21:12:19

Date: Mon, 5 Jan 1998 18:09:27 -0800 (PST)
Message-Id: <199801060209.SAA07532@adit.ap.net>
Mime-Version: 1.0
To: s DOT t DOT a AT n DOT h DOT b DOT com (Upgrade), djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: File not found (again and again)

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 -


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