cpunches@shampoo:~/Desktop$ gcc -o hello hello.cc /tmp/ccD5TYvJ.o: In function `__static_initialization_and_destruction_0(int, int)': hello.cc:(.text+0x24): undefined reference to `std::ios_base::Init::Init()' /tmp/ccD5TYvJ.o: In function `__tcf_0': hello.cc:(.text+0x6b): undefined reference to `std::ios_base::Init::~Init()' /tmp/ccD5TYvJ.o: In function `main': hello.cc:(.text+0x8e): undefined reference to `std::cout' hello.cc:(.text+0x93): undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' hello.cc:(.text+0x9e): undefined reference to `std::cin' hello.cc:(.text+0xa3): undefined reference to `std::basic_istream >::get()' /tmp/ccD5TYvJ.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status