Mail Archives: djgpp/2002/06/26/23:30:03
I have installed DJGPP in my windows98 system, and make a test.cpp
like this:
#include <iostream>
using namespace std;
main()
{
cout << "hello";
}
Also make a make.bat file like this:
gcc -c -Wall test.cpp
gcc -o myprog.exe test.o
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)
E:\download\train\gcc_c++\test>gcc -o myprog.exe test.o
gcc.exe: test.o: No such file or directory (ENOENT)
gcc.exe: No input files
But the head file streambuf.h is in the directory e:/djgpp/lang/cxx/.
I am a DJGPP beginer, could someone tell me why or some tutorial about
DGJPP?
Thanks!
- Raw text -