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 >
Wrap
Text File
|
1995-01-04
|
929b
|
29 lines
The Alpha distribution is meant to be built with GCC 2.5.x. It works
with 2.6.0 too, except for one thing: 2.6.0 generates Makefile
dependencies in a slightly different format. The difference is big
enough to break the "make depend" rule in
scout/sys/makefiles/Makefile.post. Below is a patch that should fix
the problem.
*** scout/sys/makefiles/Makefile.post 1994/06/11 00:03:14
--- 1.2 1994/08/10 16:49:37
***************
*** 36,42 ****
files="`echo *.c` $(SRCS)"; \
if [ "$$files" != '*.c' ]; then \
gcc -M $(INCDIRS) $$files | \
! sed -e 's@^\(.*.o\)\ :@$$(OBJDIR)/\1\ :@' \
>>Makefile.$(HOSTTYPE).new; \
else \
touch Makefile.$(HOSTTYPE).new; \
--- 15,21 ----
files="`echo *.c` $(SRCS)"; \
if [ "$$files" != '*.c' ]; then \
gcc -M $(INCDIRS) $$files | \
! sed -e 's@^\(.*.o\):@$(OBJDIR)/\1:@' \
>>Makefile.$(HOSTTYPE).new; \
else \
touch Makefile.$(HOSTTYPE).new; \