egcs-1.1b and Solaris make
Jeffrey A Law
law@cygnus.com
Sun Oct 11 02:41:00 GMT 1998
In message < 199810100130.SAA26305@atrus.synopsys.com >you write:
> libiberty built fine, but texinfo uses explicit GNU Make constructs in
> both texinfo/lib and texinfo/makeinfo, of this form:
>
> DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
>
> -include $(DEP_FILES)
>
> I simply commented out these two lines, and did a 'mkdir .deps' in
> each directory. With this hack, Solaris make had no trouble building
> texinfo.
>
> Since other GNU tools have acceptable ways of doing dependencies without
> requiring GNU make, texinfo should be fixed, I think.
Agreed. Anyone want to check and see if it's already fixed? Are newer
releases of texinfo available?
> However, I then had a mysterious problem when building libio.
> For some reason, some files were not built. I end with
>
> -------------------------
> ar rc libio.a filedoalloc.o floatconv.o genops.o fileops.o iovfprintf.o i
> ovfscanf.o ioignore.o iopadn.o iofgetpos.o iofread.o iofscanf.o iofsetpos
> .o iogetdelim.o iogetline.o ioprintf.o ioseekoff.o ioseekpos.o outfloat.o
> strops.o iofclose.o iopopen.o ioungetc.o peekc.o iogetc.o ioputc.o iofeof
> .o ioferror.o iofdopen.o iofflush.o iofgets.o iofopen.o iofprintf.o iofputs
> .o iofwrite.o iogets.o ioperror.o ioputs.o ioscanf.o iosetbuffer.o iosetvb
> uf.o iosprintf.o iosscanf.o ioftell.o iovsscanf.o iovsprintf.o ioprims.o i
> ostrerror.o cleanup.o stdfiles.o
> ar: cannot open peekc.o
> No such file or directory
[ ... ]
Well, someone forgot to run "make depend" at some point in the past. Worse
yet, make depend wasn't working due to a typo.
I've fixed the typo and updated the dependencies.
jeff
More information about the Gcc
mailing list