home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / xkernel / README.alpha < prev    next >
Text File  |  1995-01-04  |  929b  |  29 lines

  1.  
  2. The Alpha distribution is meant to be built with GCC 2.5.x.  It works
  3. with 2.6.0 too, except for one thing: 2.6.0 generates Makefile
  4. dependencies in a slightly different format.  The difference is big
  5. enough to break the "make depend" rule in
  6. scout/sys/makefiles/Makefile.post.  Below is a patch that should fix
  7. the problem.
  8.  
  9.  
  10. *** scout/sys/makefiles/Makefile.post    1994/06/11 00:03:14
  11. --- 1.2    1994/08/10 16:49:37
  12. ***************
  13. *** 36,42 ****
  14.       files="`echo *.c` $(SRCS)"; \
  15.       if [ "$$files" != '*.c' ]; then \
  16.         gcc -M $(INCDIRS) $$files | \
  17. !         sed -e 's@^\(.*.o\)\ :@$$(OBJDIR)/\1\ :@' \
  18.               >>Makefile.$(HOSTTYPE).new; \
  19.       else \
  20.         touch Makefile.$(HOSTTYPE).new; \
  21. --- 15,21 ----
  22.       files="`echo *.c` $(SRCS)"; \
  23.       if [ "$$files" != '*.c' ]; then \
  24.         gcc -M $(INCDIRS) $$files | \
  25. !         sed -e 's@^\(.*.o\):@$(OBJDIR)/\1:@' \
  26.               >>Makefile.$(HOSTTYPE).new; \
  27.       else \
  28.         touch Makefile.$(HOSTTYPE).new; \
  29.