From: vicking AT etud DOT insa-tlse DOT fr Date: Mon, 15 Jun 1998 14:32:25 +0200 Message-Id: <199806151232.OAA22991@jaures.etud.insa-tlse.fr> To: djgpp AT delorie DOT com Subject: minor problem with c++ Precedence: bulk I try the mythic hello world : #include int main(int argc,char **argv) { cout<<"hello world !"; retutn 0; } with version 2.8 of gcc it doesn't work with gcc -o hello.exe hello.cc undefined reference to cout undefined reference to operator<< i must specify to link with stdcxx lib : gcc -o hello.exe hello.cc -lstdcxx works well Is there a way to specify to automatically include stdcxx when linking c++ ??? thanx for advance vicking