This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Makefile bugs in gcc-3.0
- To: "John B. Brown" <jbb at vcn dot com>
- Subject: Re: Makefile bugs in gcc-3.0
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Tue, 26 Jun 2001 07:34:49 +0100
- Cc: gcc-bugs at gcc dot gnu dot org
I bet you built with srcdir == objdir. In the installation
instructions, it says that this configuration is not supported.
Neil.
John B. Brown wrote:-
> 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>
>
>
>