This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: rewrite lib/g77.exp
- To: Franz dot Sirl-kernel at lauterbach dot com
- Subject: Re: rewrite lib/g77.exp
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: Sun, 28 Oct 2001 10:09:25 -0800
- CC: ghazi at caip dot rutgers dot edu, gcc-patches at gcc dot gnu dot org
- References: <200110281342.IAA05842@caip.rutgers.edu> <jm668zvf8u.fsf@geoffk.org> <REFOR1kDTM9wGmAf0Mj00001d53@eforward1.enom.com>
- Reply-to: Geoff Keating <geoffk at redhat dot com>
> From: Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
> Date: Sun, 28 Oct 2001 18:43:43 +0100
> On Sunday 28 October 2001 18:36, Geoff Keating wrote:
> > I'm sure the problem is with the second of these lines:
> >
> > if [file exists "${gccpath}/libf2c/.libs/libg2c.so"] {
> > append flags "-Wl,--rpath-link,${rootme} "
> > append ld_library_path ":${gccpath}/libf2c/.libs"
> > }
> >
> > which is GNU ld specific; it aims to ensure that the just-built
> > libgcc_s.so is linked against. Can you propose a substitute for it
> > that works with both Solaris ld and GNU ld?
> >
> > [Note that just deleting it may appear to fix the problem, but is more
> > likely to be hiding it if you have libgcc_s.so installed somewhere.]
>
> Uhm, don't we need the shared-libgcc handling in g77spec.c first like we have
> in g++spec.c and gccspec.c? I think fixing this will eliminate the testsuite
> problem with the shared libgcc.
I don't think the gccspec.c code has any effect when compiling normal
C code, does it?
--
- Geoffrey Keating <geoffk@geoffk.org>