On Mon, Nov 07, 2005 at 03:13:24PM -0800, Jim Wilson wrote:
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 set ':set showmatch' in vim and all the braces match up.
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.
The above is from gcc-3.4.3 + some patches. However, the HP 3.4.4
binary has the same "*libgcc" line. Do you have a GCC 3.4.x binary on
HP/IA-64 which works correctly with -shared?
--
albert chin (china@thewrittenword.com)