ocs52:/home2/billing/panpan/C++>ls
hello hello.cpp hello.h hello.o libhello.a libhello.so libwpp.a main.cpp main.oocs52:/home2/billing/panpan/C++>nm hello.o U __cxa_atexit U __dso_handle000000000000003e t _GLOBAL__I__Z5helloPKc U __gxx_personality_v00000000000000054 t __tcf_00000000000000000 t _Z41__static_initialization_and_destruction_0ii000000000000006c T _Z5helloPKc U _ZNSolsEPFRSoS_E U _ZNSt8ios_base4InitC1Ev U _ZNSt8ios_base4InitD1Ev U _ZSt4cout U _ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_0000000000000000 b _ZSt8__ioinit U _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcocs52:/home2/billing/panpan/C++>nm libhello.ahello.o:
U __cxa_atexit U __dso_handle000000000000003e t _GLOBAL__I__Z5helloPKc U __gxx_personality_v00000000000000054 t __tcf_00000000000000000 t _Z41__static_initialization_and_destruction_0ii000000000000006c T _Z5helloPKc U _ZNSolsEPFRSoS_E U _ZNSt8ios_base4InitC1Ev U _ZNSt8ios_base4InitD1Ev U _ZSt4cout U _ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_0000000000000000 b _ZSt8__ioinit U _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcocs52:/home2/billing/panpan/C++>ldd libhello.so libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00002ab3dc282000) libm.so.6 => /lib64/libm.so.6 (0x00002ab3dc480000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002ab3dc5d5000) libc.so.6 => /lib64/libc.so.6 (0x00002ab3dc6e3000) /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)ocs52:/home2/billing/panpan/C++>nm libwpp.ahello.o:
U __cxa_atexit U __dso_handle000000000000003e t _GLOBAL__I__Z5helloPKc U __gxx_personality_v00000000000000054 t __tcf_00000000000000000 t _Z41__static_initialization_and_destruction_0ii000000000000006c T _Z5helloPKc U _ZNSolsEPFRSoS_E U _ZNSt8ios_base4InitC1Ev U _ZNSt8ios_base4InitD1Ev U _ZSt4cout U _ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_0000000000000000 b _ZSt8__ioinit U _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKcmain.o:
U __gxx_personality_v00000000000000000 T main U _Z5helloPKcocs52:/home2/billing/panpan/C++>ldd hello libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00002b6c9bd03000) libm.so.6 => /lib64/libm.so.6 (0x00002b6c9bf01000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002b6c9c056000) libc.so.6 => /lib64/libc.so.6 (0x00002b6c9c164000) /lib64/ld-linux-x86-64.so.2 (0x00002b6c9bbe7000)ocs52:/home2/billing/panpan/C++>