This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: libstdc++ related bootstrap failure on Solaris
- To: gcc-bugs at gcc dot gnu dot org, libstdc++ at sources dot redhat dot com
- Subject: Re: libstdc++ related bootstrap failure on Solaris
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Tue, 28 Nov 2000 18:03:19 -0800
Ah ha! Thanks Gerald, I can now reproduce this:
I created a build directory called "bld-x86-gcc:today"
/mnt/hd/loha/bld-x86-gcc:today/i686-pc-linux-gnu/libstdc++-v3/src
Now fails with:
Making all in src
make[2]: Entering directory `/mnt/hd/loha/bld-x86-gcc:today/i686-pc-linux-gnu/libstdc++-v3/src'
Makefile:509: *** target pattern contains no `%'. Stop.
Looking the makefile, I see line 509 as:
myinstallheaders: $(headers:%=$(myincludep)/%) <--here
if test -z "$(MULTISUBDIR)"; then \
for i in $(std_headers); do \
echo "$(INSTALL_DATA) $(GLIBCPP_INCLUDE_DIR)/std/$$i $(myincludep)";\
$(INSTALL_DATA) $(GLIBCPP_INCLUDE_DIR)/std/$$i $(myincludep); \
done; \
for i in $(build_headers); do \
echo "$(INSTALL_DATA) $(top_builddir)/include/$$i $(myincludep)/bits/"; \
$(INSTALL_DATA) $(top_builddir)/include/$$i $(myincludep)/bits/; \
done; \
libio_headers_install='$(libio_headers)'; \
for i in $$libio_headers_install; do \
echo "$(INSTALL_DATA) $$i $(myincludep)"; \
$(INSTALL_DATA) $$i $(myincludep); \
done; \
fi;
Why am I not surprised that this part of the Makefile creates such
problems. I hate these hacky header install routines. Is there any
kind of shell-scripting magic that I can use to get around this at the
moment?
-benjamin