This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Makefile bugs in gcc-3.0


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>
> 
> 
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]