Mail Archives: djgpp/1993/06/03/17:55:43
I downloaded the djgpp1.10/gcc241.
The first problem I had was I couldn't find the include files for C.
So, I copied all the .h files from the older version djgpp I had. Am I
suppose to do that or the files are hidden some where?
The second problem is I can't get the C++ work. Here is the program
I tried to complie.
#include <stream.h>
main()
{
cout << "hello, world\n";
}
C:DJ241\PROG>gcc -o test test.cc
c:/tmp/ccb00054(.text+1c): undefined reference to `cout'
c:/tmp/ccb00054(.text+21): undefined reference to `operator<<(ostream &, const
char *)'
C:\DJ241\PROG>
Any idea what's going on? I set all the envior variable in the autoexec.bat
file as the readme file said.
Thanx for the help!
- Raw text -