This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Re: Does gcc-3.4.3 for HP-UX 11.23/IA-64 work?
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 8 Nov 2005 11:31:00 -0800 (PST)
- Subject: Re: Re: Does gcc-3.4.3 for HP-UX 11.23/IA-64 work?
> > 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
sje@cup.hp.com