This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: [Part of] your Dec., 4th change to libf2c/Makefile.in.


Alexandre Oliva wrote:

> On Jan 18, 2002, Toon Moene <toon@moene.indiv.nluug.nl> wrote:
> 
> > OK, installed as the attached patch.
> 
> Thanks, but...
> 
> >   uninstall:
> > !     rm -f $(libsubdir)/$(MULTISUBDIR)/include/g2c.h $(libsubdir)/$(MULTISUBDIR)/$(LIBG2C_BASE).*
> >       rm -f $(prefix)/lib/$(LIBG2C_BASE).so*
> 
> How about:
> 
>         $(LIBTOOL) --mode=uninstall rm -f $(libdir)$(MULTISUBDIR)/$(LIBG2C_BASE).la
> 
> instead of assuming the shared library prefix is .so, and not taking
> multilibs into account, and assuming libdir is $(prefix)/lib?

Committed as the attached patch.  This also removes superfluous `/'s
(according to Andreas Schwab - and my testing), $(MULTISUBDIR) already
provides one.

Make bootstrap (C and Fortran), make check (Fortran only) and make
install (plus small test-program compiled with the installed compiler
and run) on i686-pc-linux-gnu (no multilibs) and
powerpc-unknown-linux-gnu (multilibs).

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)


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