Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!comp.vuw.ac.nz!jonathan From: jonathan@comp.vuw.ac.nz Newsgroups: gnu.gcc.bug Subject: still can't build hard-params with VPATH gcc 1.35.98 Message-ID: <8909060501.AA15695@comp.vuw.ac.nz> Date: 6 Sep 89 05:00:48 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 34 Summary:: The subject line says it all. Some implementations of make(1) do not support the VPATH feature. Calling such makes explicitly from recursive GNU makes can lose. Version:: gcc 1.35.98 Hardware:: Pyramid 90x running OSx 4.0 Fix:: Apply the following change: *** Makefile Mon Sep 4 16:33:11 1989 --- Makefile.new Wed Sep 6 16:57:48 1989 *************** *** 236,243 **** float.h: # Compile hard-params with standard cc. It avoids some headaches. ! # For that reason, don't use $(MAKE), which (if GNU make) would propagate CC=. ! make $(MFLAGS) hard-params -./hard-params -f > float.h hard-params: hard-params.o $(LIBDEPS) --- 236,242 ---- float.h: # Compile hard-params with standard cc. It avoids some headaches. ! $(MAKE) $(MFLAGS) CC="$(OLDCC)" hard-params -./hard-params -f > float.h hard-params: hard-params.o $(LIBDEPS)