Makefile bugs in gcc-3.0
John B. Brown
jbb@vcn.com
Mon Jun 25 21:53:00 GMT 2001
Dear Folks,
There is a bug in the Makefiles in various directories under
gcc-3.0/i586-pc-linux-gnu/ which cause fatal errors to occur during the
install phase of a general compile. The output from gcc -v is;
`Reading specs from /usr/local/lib/gcc-lib/i586-pc-linux-gnu/3.0/specs
Configured with: ./configure
Thread model: single
gcc version 3.0'
The mkinstalldirs references are short by one level of directory offset.
For example, the equate will be
`mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs' when it should be
`mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs'. Some require
more levels of offset, but they all are short by one level when they are in
error. Not all the Makefiles in the subdirectories under
gcc-3.0/i586-pc-linux-gnu/ use this mechanism, so no fix is needed for them.
I forget how many times I had to go in and edit the Makefiles after the
fatal errors occurred which stopped the install. Some changes are needed to
the offsets in those relevant Makefiles, or possibly the relevant Makefile.in
files. That is up to you.
Shalom,
John B. Brown.
<jbb@vcn.com>
More information about the Gcc-bugs
mailing list