This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch: silent libf2c build failures, multilib related?
- To: Robert Lipe <robertl at dgii dot com>
- Subject: Re: patch: silent libf2c build failures, multilib related?
- From: Martin Knoblauch <knobi at knobisoft dot de>
- Date: Thu, 01 Oct 1998 20:36:48 +0200
- CC: egcs at cygnus dot com, burley at gnu dot org, egcs-patches at cygnus dot com
- Organization: Knobisoft :-), Freising
- References: <199809271645.SAA01168@knobi.knobisoft.de> <19980927224211.B15624@dgii.com> <360FDBF0.F715043A@knobisoft.de> <19980928144920.F28992@dgii.com> <361000AE.66F0F76F@knobisoft.de> <19980928171829.D11976@dgii.com> <361011BB.70ED2139@knobisoft.de> <19980928221358.A15336@dgii.com>
- Reply-To: knobi at knobisoft dot de
Robert Lipe wrote:
>
> Martin Knoblauch wrote:
>
> > Would a "--disable-multilib" configure flag cause problems?
>
> Robert Lipe wrote:
>
> [ maybe. Never tried it. It's a variable worth investigating. ]
>
> Yep. That's the ticket. Martin, can you confirm this works for you?
>
> Please consider this patch to make --disable-multilib actually make a .a
> out of all those .o's.
>
> * Makefile.in (all): Correct dependencies do --disable-multilibs works again.
> (distclean): Correct typo.
>
> Index: Makefile.in
> ===================================================================
> RCS file: /egcs/carton/cvsfiles/egcs/libf2c/Makefile.in,v
> retrieving revision 1.22
> diff -u -p -r1.22 Makefile.in
> --- Makefile.in 1998/09/21 10:34:22 1.22
> +++ Makefile.in 1998/09/29 03:06:57
> @@ -85,8 +85,8 @@ F2CEXT = abort derf derfc ef1asc ef1cmc
> # These dependencies can be satisfied in parallel. The [fiu]77
> # targets update stamp files which the $(LIBG2C) target checks in the
> # sub-make. (Probably only one stamp file is really needed.)
> -all: i77 f77 u77 s-libe77
> - $(MULTIDO) $(FLAGS_TO_PASS) $(LIBG2C) multi-do DO="all $(LIBG2C)"
> +all: i77 f77 u77 s-libe77 $(LIBG2C)
> + $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO="all"
>
> i77 f77 u77: g2c.h
>
> @@ -187,7 +187,7 @@ clean: mostlyclean
> distclean: clean
> rm -f Makefile config.cache config.status g2c.h s-libe77
> $(MAKE) DO=$@ DODIRS="$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do; \
> - @$(MULTICLEAN) multi-clean DO=distclean
> + $(MULTICLEAN) multi-clean DO=distclean
>
> maintainer-clean:
>
Robert,
your patch did it. The library is built and gmake check-g77
runs fine.
Martin
--
+---------------------------------+
|Martin Knoblauch |
|---------------------------------|
|http://www.knobisoft.de |
+---------------------------------+
|e-mail: <knobi@knobisoft.de> |
+---------------------------------+