To: djgpp AT sun DOT soe DOT clarkson DOT edu Cc: chm94 AT aber DOT ac DOT uk Subject: Problem with , gcc msdos version Date: Mon, 31 Jul 1995 12:44:24 +0100 From: chm94 I have a problem compiling this very basic C++ code: file 'try.cc' ------------------------------------- #include int main(int argc, char **argv) { cout << "hello.\n"; return 0; } -------------------------------------- Here are the errors returned to me: D:\GNU-C\gcc try.cc try.cc(.text+0x16):undefined reference to `cout' try.cc(.text+0x1b):undefined reference to `ostream::operator<<(char const *)' D:\GNU-C> NOTE: I have just installed the GNU C C++ compiler on my pc. I just got one maintenance file named dj112m1.zip. I am using the following modules: djeoe112.zip djdev112.zip gcc260bn.zip gas23bn.zip bnu24bn.zip lgp260bn.zip ------------------------------------------------------------------- | Christophe MATIGNON, Shock and Detonation Physics Group | | | | Physics department, University College of Wales, Aberystwyth, | | Penglais Campus, Aberystwyth, Dyfed, SY23 3BZ | | | | _/ _/ _/ _/ _/ | | E-Mail: chm94 AT aber DOT ac DOT uk _/ _/ _/ _/ _/_/ | | _/ _/ _/ _/ _/ _/ | | Phone: (44) 1970 622824 _/ _/ _/ _/ _/ _/_/_/_/ | | FAX: (44) 1970 622839 _/ _/ _/ _/ _/_/ _/ _/ | | _/_/_/_/_/ _/ _/ _/ _/ | -------------------------------------------------------------------