> > As mentioned before, there is a brace missing after the gcc_s_hpux64. > > This brace is needed to close off the shared-libgcc rule before the > > static-libgcc rule starts. You then must delete a brace from the end of > > the !static rule which has one too many. > > Yes, doing so gives the correct 'gcc -shared' output.
I am not convinced there is a bug here. I think there may have been a deliberate change between 3.4.* and 4.* about whether or not '-shared' implied '-shared-libgcc', particularly for C code. I notice that if I compile using 3.4.4 and use '-shared -shared-libgcc' instead of just '-shared' then it works as you want. Steve Ellcey [EMAIL PROTECTED]