Albert Chin wrote:
The "*libgcc" line from the 3.4.3/3.4.4 specs file: *libgcc: %{shared-libgcc:%{!mlp64:-lgcc_s}%{mlp64:-lgcc_s_hpux64} %{static|static-libgcc:-lgcc -lgcc_eh -lunwind}%{!static:%{!static-libgcc:%{!shared:%{!shared-libgcc:-lgcc -lgcc_eh -lunwind}%{shared-libgcc:-lgcc_s%M -lunwind -lgcc}}%{shared:-lgcc_s%M -lunwind}}}} %{!shared-libgcc:-lgcc}
It looks like there is a close-brace '}' missing after the -lgcc_s_hpux64. This will terminate the shared-libgcc rule before the static rule starts. Then delete one of the 4 close braces after the -lunwind. There are one too many braces here.
I don't see this problem in the FSF gcc tree. I'm guessing this is a mistake in the HP gcc sources that you are using.
-- Jim Wilson, GNU Tools Support, http://www.specifix.com