Message-ID: <000a01c02d7d$877f4240$c6d5b43e@karsten> From: "Karsten" To: Subject: Problems with compilation Date: Tue, 3 Oct 2000 23:03:52 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01C02D8E.32B4F5A0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C02D8E.32B4F5A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello! I'm Karsten I have one little problem: if i start the compiler with the following task: gcc -o hellowo.exe hellowo.cc=20 or=20 gcc -c hellowo.cc=20 I get the error: "No such file or directory " There are some information for you: the source-code of "hellowo.cc": #include int main(); int main { cout << "Hello World!\n"; return 0; } autoexec.bat: SET BLASTER=3DA220 I5 D1 H5 P330 E620 T6=20 SET BLASTER=3DA220 I5 D1 H5 P330 E620 T6=20 SET SOUND=3DC:\PROGRA~1\CREATIVE\CTSND SET MIDI=3DSYNTH:1 MAP:E MODE:0 C:\Matrox\util\Vbext.exe SET = PATH=3DC:\WINDOWS;C:\WINDOWS\COMMAND;C:\BITWARE\;%PATH%;d:\PROGRA~1\BORLA= ND\DELPHI4\BIN;D:\PROGRA~1\TCL\bin;D:\DJGPP\BIN mode con codepage prepare=3D((850) C:\WINDOWS\COMMAND\ega.cpi) mode con codepage select=3D850 keyb gr,,C:\WINDOWS\COMMAND\keyboard.sys SET PATH=3D%PATH%;C:\PROGRA~1\GEMEIN~1\AUTODE~1;D:\DJGPP\BIN SET DJGPP=3DD:\DJGPP\DJGPP.ENV config.sys: device=3DC:\WINDOWS\COMMAND\display.sys con=3D(ega,,1) Country=3D049,850,C:\WINDOWS\COMMAND\country.sys environ.lst: TMP=3DC:\WINDOWS\TEMP TEMP=3DC:\WINDOWS\TEMP PROMPT=3D$p$g winbootdir=3DC:\WINDOWS COMSPEC=3DC:\WINDOWS\COMMAND.COM SOUND=3DC:\PROGRA~1\CREATIVE\CTSND MIDI=3DSYNTH:1 MAP:E MODE:0 PATH=3DC:\WINDOWS;C:\WINDOWS\COMMAND;C:\BITWARE\;C:\WINDOWS;C:\WINDOWS\CO= MMAND;D:\PROGRA~1\BORLAND\DELPHI4\BIN;D:\PROGRA~1\TCL\BIN;D:\DJGPP\BIN;C:= \PROGRA~1\GEMEIN~1\AUTODE~1;D:\DJGPP\BIN DJGPP=3DD:\DJGPP\DJGPP.ENV windir=3DC:\WINDOWS BLASTER=3DA220 I5 D1 H5 P330 T6 E620 the -v switch: Reading specs from d:/djgpp/lib/gcc-lib/djgpp/2.81/specs gcc version 2.8.1 d:/djgpp/lib/gcc-lib/djgpp/2.81/cpp.exe -lang-c++ -v -undef = -D__GNUC__=3D2 -D__GN UG__=3D2 -D__cplusplus -D__GNUC_MINOR__=3D8 -Dunix -Di386 -DGO32 -DMSDOS = -DDJGPP=3D2 - DDJGPP_MINOR=3D1 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ = -D__DJGPP__=3D2 -D__DJ GPP_MINOR__=3D1 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=3D2 = -D__DJGPP_MINOR=3D1 -D__EXCEPTIONS hellowo.cc C:\WINDOWS\TEMP\ccaqcqol GNU CPP version 2.8.1 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: d:/djgpp/lang/cxx d:/djgpp/include d:/djgpp/lang/cxx d:/djgpp/lib/gcc-lib/djgpp/2.81/include d:/djgpp/include End of search list. In file included from hellowo.cc:1: d:/djgpp/lang/cxx/iostream.h:31: streambuf.h: No such file or directory = (ENOENT) The program "go32-v2" does not exist! Many Thanks to you! Karsten ------=_NextPart_000_0007_01C02D8E.32B4F5A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello!
 
I'm Karsten
 
I have one little problem:
if i start the compiler with the = following=20 task:
 
gcc = -o hellowo.exe=20 hellowo.cc
 
or
 
gcc -c hellowo.cc
 
I get the error: "No such file or = directory=20 <ENOENT>"
 
There are some information for = you:
 
the source-code of=20 "hellowo.cc":
 
#include = <iostream.h>
 
int main();
int main
{
cout = <<=20 "Hello World!\n";
return 0;
}
 
 
 
autoexec.bat:
 
SET BLASTER=3DA220 I5 D1 H5 P330 E620 = T6
SET=20 BLASTER=3DA220 I5 D1 H5 P330 E620 T6
SET=20 SOUND=3DC:\PROGRA~1\CREATIVE\CTSND
SET MIDI=3DSYNTH:1 MAP:E=20 MODE:0
C:\Matrox\util\Vbext.exe
SET=20 PATH=3DC:\WINDOWS;C:\WINDOWS\COMMAND;C:\BITWARE\;%PATH%;d:\PROGRA~1\BORLA= ND\DELPHI4\BIN;D:\PROGRA~1\TCL\bin;D:\DJGPP\BIN
mode=20 con codepage prepare=3D((850) C:\WINDOWS\COMMAND\ega.cpi)
mode con = codepage=20 select=3D850
keyb gr,,C:\WINDOWS\COMMAND\keyboard.sys
 
SET=20 PATH=3D%PATH%;C:\PROGRA~1\GEMEIN~1\AUTODE~1;D:\DJGPP\BIN
SET=20 DJGPP=3DD:\DJGPP\DJGPP.ENV
 
 
 
config.sys:
 
device=3DC:\WINDOWS\COMMAND\display.sys = con=3D(ega,,1)
Country=3D049,850,C:\WINDOWS\COMMAND\country.sys
=
 
 
 
environ.lst:
 
TMP=3DC:\WINDOWS\TEMP
TEMP=3DC:\WINDOWS\TEMP
PROMPT=3D$p$g=
winbootdir=3DC:\WINDOWS
COMSPEC=3DC:\WINDOWS\COMMAND.COM
SOUND=3D= C:\PROGRA~1\CREATIVE\CTSND
MIDI=3DSYNTH:1=20 MAP:E=20 MODE:0
PATH=3DC:\WINDOWS;C:\WINDOWS\COMMAND;C:\BITWARE\;C:\WINDOWS;C:\= WINDOWS\COMMAND;D:\PROGRA~1\BORLAND\DELPHI4\BIN;D:\PROGRA~1\TCL\BIN;D:\DJ= GPP\BIN;C:\PROGRA~1\GEMEIN~1\AUTODE~1;D:\DJGPP\BIN
DJGPP=3DD:\DJGPP\DJ= GPP.ENV
windir=3DC:\WINDOWS
BLASTER=3DA220=20 I5 D1 H5 P330 T6 E620
 
 
 
the -v switch:
 
Reading specs from=20 d:/djgpp/lib/gcc-lib/djgpp/2.81/specs
gcc version=20 2.8.1
 d:/djgpp/lib/gcc-lib/djgpp/2.81/cpp.exe -lang-c++ -v = -undef=20 -D__GNUC__=3D2 -D__GN
UG__=3D2 -D__cplusplus -D__GNUC_MINOR__=3D8 = -Dunix -Di386=20 -DGO32 -DMSDOS -DDJGPP=3D2 -
DDJGPP_MINOR=3D1 -D__unix__ -D__i386__ = -D__GO32__=20 -D__MSDOS__ -D__DJGPP__=3D2 -D__DJ
GPP_MINOR__=3D1 -D__unix -D__i386 = -D__GO32=20 -D__MSDOS -D__DJGPP=3D2 -D__DJGPP_MINOR=3D1
 -D__EXCEPTIONS = hellowo.cc=20 C:\WINDOWS\TEMP\ccaqcqol
GNU CPP version 2.8.1 (80386, BSD=20 syntax)
#include "..." search starts here:
#include <...> = search=20 starts=20 here:
 d:/djgpp/lang/cxx
 d:/djgpp/include
 d:/dj= gpp/lang/cxx
 d:/djgpp/lib/gcc-lib/djgpp/2.81/include
 d:= /djgpp/include
End=20 of search list.
In file included from=20 hellowo.cc:1:
d:/djgpp/lang/cxx/iostream.h:31: streambuf.h: No such = file or=20 directory (ENOENT)
 
The program "go32-v2" does not = exist!
 
Many Thanks to you!
 
Karsten
 
------=_NextPart_000_0007_01C02D8E.32B4F5A0--