Mail Archives: djgpp/2000/10/04/16:33:38
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 -