This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Does libtool know how to deal with libgcc.a%s?
- To: Jack Howarth <howarth at nitro dot med dot uc dot edu>
- Subject: Does libtool know how to deal with libgcc.a%s?
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Fri, 7 Sep 2001 21:27:33 -0700
- Cc: libtool at gnu dot org, gcc at gcc dot gnu dot org
- References: <200109080353.XAA56757@nitro.med.uc.edu> <200109080414.AAA31247@nitro.med.uc.edu> <20010907211908.A32493@lucon.org>
On Fri, Sep 07, 2001 at 09:19:08PM -0700, H . J . Lu wrote:
> On Sat, Sep 08, 2001 at 12:14:49AM -0400, Jack Howarth wrote:
> > howarth@bogus:~$ gcc -v
> > Reading specs from /usr/lib/gcc-lib/powerpc-linux/2.95.4/specs
> > gcc version 2.95.4 20010902 (Debian prerelease)
> >
> > *libgcc:
> > libgcc.a%s
> >
>
> It looks like gcc is ok and libtool is broken. Please try to change to
>
> *libgcc:
> -lgcc
>
> in /usr/lib/gcc-lib/powerpc-linux/2.95.4/specs. libtool may not know
> how to deal with libgcc.a%s. On the other hand, I don't know why ppc
> uses `libgcc.a%s' instead of `-lgcc' to begin with.
>
Gcc on some platforms uses `libgcc.a%s' instead of `-lgcc'. Does
libtool know how to deal with libgcc.a%s? It seems that libtool
drops `libgcc.a%s' for the linking.
H.J.