------- Comment #4 from bugzilla-gcc at thewrittenword dot com 2005-11-08 21:49 ------- (In reply to comment #3) > I am not convinced that this is a bug. Was there an intentional change > between > 3.4.* and 4.0 that made -shared imply -shared-libgcc? I can't find one but it > seems like this might have happened, that in 3.4 (with C) -shared does not > imply -shared-libgcc but in 4.0 it does.
If -shared did not imply -shared-libgcc, why does gcc -shared on HP-UX 10.20/PA, 11.00/PA, 11.11/PA, and 11.23/PA behave as if -shared-libgcc was included? The question is why HP-UX 11.23/IA-64 is different than HP-UX/PA. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24718