This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


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

Solaris `make' problem



The libstdc++-v3/src/Makefile doesn't work with the ordinary make on
Solaris (/usr/ccs/bin/make).

  $(headers:%=$(myincludep)/%): $(myincludep)/%: %
	  if test -z "$(MULTISUBDIR)"; then \
	  $(mkinstalldirs) $(@D); \
	  echo " $(INSTALL_DATA) $^ $@"; \
	  $(INSTALL_DATA) $^ $@; \
	  fi;

This bit is the problem; make says:

  make: Fatal error in reader: Makefile, line 522: Extra `:', `::', or `:=' on dependency line

Would someone mind taking a whack at reworking that to not use GNU
make functionality?  In general, GCC can be built with just a POSIX
make, and the BSD folks have lobbied hard to keep this requirement.

Thanks,

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

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