agiofws@celeron2~/cc$gcc cc1.cpp -o cc1.bin /tmp/ccfOCBcd.o(.text+0x14): In function `main': : undefined reference to `std::basic_ostream >& std::endl >(std::basic_ostream >&)' /tmp/ccfOCBcd.o(.text+0x21): In function `main': : undefined reference to `std::cout' /tmp/ccfOCBcd.o(.text+0x26): In function `main': : undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /tmp/ccfOCBcd.o(.text+0x2f): In function `main': : undefined reference to `std::basic_ostream >::operator<<(std::basic_ostream >& (*)(std::basic_ostream >&))' /tmp/ccfOCBcd.o(.text+0x5c): In function `__static_initialization_and_destruction_0(int, int)': : undefined reference to `std::ios_base::Init::Init[in-charge]()' /tmp/ccfOCBcd.o(.text+0x8b): In function `__tcf_0': : undefined reference to `std::ios_base::Init::~Init [in-charge]()' /tmp/ccfOCBcd.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status