This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more infromation.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Thunder Scientific Corporation writes: > Make now fails immediately after > entering the directory /usr/src/binutils-2.9.1/libiberty with the complaint: > > make[1]: *** No rule to make target `dummy.c', needed by `dummy.o'. Stop. dummy.c is in the binutils-2.9.1 source tree. I just unpacked a fresh copy on my RH6.1 box, ran ./configure, then make clean all, and it worked just fine. Does dummy.c exist in your /usr/src/binutils-2.9.1/libiberty directory? > It seems I am exceeding my context of knowledge and don't know how to search > the dependency list because I want to know why make thinks it needs a target > of dummy.o or dummy.c. grep for dummy in libiberty/Makefile. You'll find this: dummy.o: $(srcdir)/dummy.c $(srcdir)/functions.def $(CC) -c $(CFLAGS) -I. -I$(INCDIR) $(HDEFINES) $(srcdir)/dummy.c 2>/dev/null grep some more and you'll find this: errors: dummy.o $(EXTRA_OFILES) -($(ERRORS_CC) -o dummy $(CFLAGS) $(LDFLAGS) $(ERRORS_LDFLAGS) dummy.o $(EXTRA_OFILES) $(LOADLIBES)) >errors 2>&1 || true grep for errors and you'll find this: lconfig.h: needed2.awk errors echo "/* !Automatically generated from $(srcdir)/functions.def"\ "- DO NOT EDIT! */" >lconfig.h awk -f needed2.awk <errors >>lconfig.h So, `dummy.c' is needed to build `dummy.o' which is needed by `errors' which is needed by `lconfig.h'. ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |