This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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