------- Comment #2 from pluto at agmk dot net 2008-12-29 09:32 ------- (In reply to comment #1) > IIRC libgcc_eh.a is only needed for shared targets. >
e.g., stlport configured with --enable-static --use-static-gcc needs static -lgcc_eh, -lgcc and -lsupc++ to self-link. it uses only shared libc components and doesn't require any .so from gcc. ldd libstlport.so.5.2.1 linux-vdso.so.1 => (0x00007fffae1ff000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fb0a5b77000) libc.so.6 => /lib64/libc.so.6 (0x00007fb0a581f000) libm.so.6 => /lib64/libm.so.6 (0x00007fb0a559c000) /lib64/ld-linux-x86-64.so.2 (0x00007fb0a6045000) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35857