I did read the faq to try and find this out, but:
The following error is seen ...
c:/djgpp/tmp\ccdaaaaa(.text+0x1a):test.cc: undefined reference to `cout'
c:/djgpp/tmp\ccdaaaaa(.text+0x1f):test.cc: undefined reference to `ostream::operator<<(char const *)'
when trying to compile the following file:
cout << "hello world";
Pretty simple, I know. Just testing the compiler. Now, the following codeQuote:}
with an extension of .cpp or .c works fine:
This is using standard <stdio.h> routiens (no c++). Any clues.Quote:}
My djgpp environment variable is set to c:\djgpp\djgpp.env (I even tried
c:/djgpp/djgpp.env). This is my djgpp.env file:
#= Don't edit this line unless you move djgpp.env outside
#= of the djgpp installation directory. If you do move
#= it, set DJDIR to the directory you installed DJGPP in.
[cpp] [gcc] Any ideas??? BTW, I am posting here first to see if it is a problem with Jeff
djgpp setup. Sorry if it turns out to be a language problem. I did try
replacing djgpp.env, re-unzipping djdev201.zip, re-unzipping lgp271b.zip, and
re-typing the lines of the program.
Any ideas??? BTW, I am posting here first to see if it is a problem with