This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Errors in -start targets for stage2 and later
- From: Matt Kraai <kraai at alumni dot cmu dot edu>
- To: gcc at gcc dot gnu dot org, Zack Weinberg <zack at codesourcery dot com>
- Date: Mon, 7 Jul 2003 00:27:27 -0700
- Subject: Errors in -start targets for stage2 and later
Howdy,
The -start targets for stage2 and later have problems that are
caused by unescaped dollar signs:
subdirs="ada cp f java objc"; for dir in /home/kraai/dev/gcc/gccubdirs; \
do \
if [ -d stage2/$dir ] ; then true ; else mkdir stage2/$dir ; fi ; \
done
mkdir: cannot create directory `stage2//home/kraai/dev/gcc/gccubdirs': No such file or directory
make[2]: [stage2-start] Error 1 (ignored)
Why were they changed from
for dir in $(SUBDIRS);
to
subdirs="$(SUBDIRS)"; for dir in $subdirs;
and why was this not done for stage1-start?
--
Matt Kraai kraai@alumni.cmu.edu Debian GNU/Linux