This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: rewrite lib/g77.exp


> 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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]