From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: A question about DJGPP Date: 27 Jun 2002 07:59:19 GMT Organization: Aachen University of Technology (RWTH) Lines: 24 Message-ID: References: NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 1025164759 13472 137.226.32.75 (27 Jun 2002 07:59:19 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 27 Jun 2002 07:59:19 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Tony wrote: > Also make a make.bat file like this: > gcc -c -Wall test.cpp > gcc -o myprog.exe test.o ^^^--- Wrong. Use GPP or GXX (whichever of the two you have) instead. Read the README.1ST to learn why this is important. > I want to complier and link the cpp file, But when I complier the > soure file, the result is: > E:\download\train\gcc_c++\test> > E:\download\train\gcc_c++\test>gcc -c -Wall test.cpp > In file included from e:/djgpp/lang/cxx/iostream:6, > from test.cpp:2: > e:/djgpp/lang/cxx/iostream.h:31: streambuf.h: No such file or > directory (ENOENT) Broken installation, caused by incorrect unzipping or incorrect setting of the LFN variable. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.