www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/04/16:33:38

Date: Wed, 4 Oct 2000 08:31:59 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Karsten <karsten DOT kg AT planet-interkom DOT de>
cc: djgpp AT delorie DOT com
Subject: Re: Problems with compilation
In-Reply-To: <000a01c02d7d$877f4240$c6d5b43e@karsten>
Message-ID: <Pine.SUN.3.91.1001004083134.21716D-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 3 Oct 2000, Karsten wrote:

> gcc -o hellowo.exe hellowo.cc=20
> 
> or=20
> 
> gcc -c hellowo.cc=20
> 
> I get the error: "No such file or directory <ENOENT>"

Go to the directory where you are typing these commands,
type "dir hellowo*", and tell us what does it print.
In particular, make sure the file hellowo.cc is printed.

> PATH=3DC:\WINDOWS;C:\WINDOWS\COMMAND;C:\BITWARE\;%PATH%;d:\PROGRA~1\BORLA=
> ND\DELPHI4\BIN;D:\PROGRA~1\TCL\bin;D:\DJGPP\BIN

This is not very wise: if d:\progra~1\borland\delphi4\bin has some
programs whose names are identical to one of the programs in
d:\djgpp\bin, you will invoke wrong programs.  The usual advice is to
put d:\djgpp\bin first in your PATH.

> SET PATH=3D%PATH%;C:\PROGRA~1\GEMEIN~1\AUTODE~1;D:\DJGPP\BIN
                                                 ^^^^^^^^^^^^^
The last part (marked) is redundant.  I suggest to remove it.

> In file included from hellowo.cc:1:
> d:/djgpp/lang/cxx/iostream.h:31: streambuf.h: No such file or directory =
> (ENOENT)

Set LFN=y in the environment and see if it helps.

> The program "go32-v2" does not exist!

Are you sure?  You should have go32-v2.exe in the d:\djgpp\bin
directory.  That program comes with djdevNNN.zip archive, so if you
don't have it, you might be missing some other files, including
iostream.h that the compiler doesn't find.  Is there iostream.h on
your system in the d:\djgpp\lang\cxx directory?

- Raw text -


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