This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Makefile bugs in gcc-3.0
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Makefile bugs in gcc-3.0
- From: John B. Brown <jbb at vcn dot com>
- Date: Mon, 25 Jun 2001 22:51:59 -0600 (MDT)
- Reply-To: jbb at vcn dot com
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>