make install on Solaris 2.6

craig@jcb-sc.com craig@jcb-sc.com
Thu Feb 11 22:23:00 GMT 1999


Not sure if anyone got back to you.  This bug report kinda bounced
around a bit, and we might have lost track of it for awhile, but
in the end I think we decided we'd rather not incorporate this patch
into egcs, because it'd just be working around a version of `make',
which you're using, that doesn't properly support VPATH.  If we
tried to make all of egcs support buggy VPATH implementations in
`make', from what I understand, we'd not get much else done.

Apparently one of the recommended solutions is to use GNU `make'.
Look for `gmake-version.tar.gz' at a GNU distribution site, though
I don't know offhand what the latest `version' is.  Sometimes people
install it as `gmake' or `gnumake' instead of `make' -- you might
already have a recent version installed.

        tq vm, (burley)


>I think I might have found a problem in a Makefile.
>I'm trying to install egcs-1.1.1 on sparc-sun-solaris-2.6.
>make bootstrap when well but make install crash in $(objdir)/gcc.
>
>The bug, I think, is on these lines
>=================================================================================
>$(objdir)/gcc/Makefile:
>
>$(srcdir)/f/intdoc.texi: f/intdoc.c f/intdoc.in f/ansify.c f/intrin.def
>f/intrin.h
>	case "$(LANGUAGES)" in \
>	  *[fF]77*) touch lang-f77;; \
>	  *) rm -f lang-f77;; \
>	esac
>	if [ -f lang-f77 ]; then \
>	  $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) $(INCLUDES) \
>	   `echo $(srcdir)/f/ansify.c | sed 's,^\./,,'` -o f/ansify; \
>	  f/ansify < $(srcdir)/f/intdoc.in > f/intdoc.h0 $(srcdir)/f/intdoc.in;
>\
>	  $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) $(INCLUDES) -I./f \
>	   `echo $(srcdir)/f/intdoc.c | sed 's,^\./,,'` -o f/intdoc; \
>	  f/intdoc > $(srcdir)/f/intdoc.texi; \
>	  rm f/intdoc f/ansify f/intdoc.h0; \
>	fi
>
>=================================================================================
>
>The dependences f/intdoc.c f/intdoc.in f/ansify.c f/intrin.def
>f/intrin.h
>are not the same used bellow. The $(srcdir) directory is missing. Maybe
>it should
>be:
>
>$(srcdir)/f/intdoc.texi: $(srcdir)/f/intdoc.c $(srcdir)/f/intdoc.in
>$(srcdir)/f/ansify.c $(srcdir)/f/intrin.def $(srcdir)/f/intrin.h
>
>insted of:
>
>$(srcdir)/f/intdoc.texi: f/intdoc.c f/intdoc.in f/ansify.c f/intrin.def
>f/intrin.h
>
>It would work if srcdir==objdir but configuring egcs doc highly
>recommend that egcs 
>be built into a separate directory!


More information about the Gcc-bugs mailing list