Public feed #893504

output from gcc hello_world.cpp

public text v1 · immutable
Raw Edit
·published 2008-02-06 04:33 UTC
rendered paste body
/tmp/ccT3jvyI.o: In function `__static_initialization_and_destruction_0(int, int)':
hello_world.cpp:(.text+0x23): undefined reference to `std::ios_base::Init::Init()'
/tmp/ccT3jvyI.o: In function `__tcf_0':
hello_world.cpp:(.text+0x6c): undefined reference to `std::ios_base::Init::~Init()'
/tmp/ccT3jvyI.o: In function `main':
hello_world.cpp:(.text+0x8e): undefined reference to `std::cout'
hello_world.cpp:(.text+0x93): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
/tmp/ccT3jvyI.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status