X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Wed, 14 Jan 2004 11:13:38 +0300 From: Prior X-Priority: 3 (Normal) Message-ID: <505545170.20040114111338@surfeu.fi> To: DJGPP Discussion Club Subject: errors MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Hi All DJGPP coders! I think i've installed DJGPP correctly. I am newbie in DJGPP... so here is test.cc file ---------------------------- #include int main() { cout << "dsfdsf"; return 0; } ---------------------------- and I do: gcc -Wall -Wno-deprecated test.cc -o test.exe C:\WINNT\TEMP/ccmQwXw2.o(.text+0x21):test.cc: undefined reference to `std::cout' C:\WINNT\TEMP/ccmQwXw2.o(.text+0x26):test.cc: undefined reference to `std::basic _ostream >& std::operator<< >(std::basic_ostream >&, char const*)' C:\WINNT\TEMP/ccmQwXw2.o(.text+0x52):test.cc: undefined reference to `std::ios_b ase::Init::Init[in-charge]()' C:\WINNT\TEMP/ccmQwXw2.o(.text+0x71):test.cc: undefined reference to `std::ios_b ase::Init::~Init [in-charge]()' C:\WINNT\TEMP/ccmQwXw2.o(.eh_frame+0x11):test.cc: undefined reference to `___gxx _personality_v0' collect2: ld returned 1 exit status what is wrong? what should i do? -- Prior