This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] gcc-2.95 make install prefix=... broken with multilibs (was: Re: Makefiles advice needed...)
- To: Daniel Jacobowitz <drow at false dot org>
- Subject: Re: [PATCH] gcc-2.95 make install prefix=... broken with multilibs (was: Re: Makefiles advice needed...)
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 06 Aug 1999 23:36:19 -0600
- cc: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>, egcs-patches at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <19990718015851.A20095@drow.res.cmu.edu>you write:
> > > chown -R root:root /my_prefix/lib
> > > exit
> > > ../gcc-2.95/configure --prefix=/my_prefix
> > > make bootstrap
> > > mkdir -p /var/tmp/gcc-root/my_prefix
> > > make prefix=/var/tmp/gcc-root/my_prefix install
> > >
> > > This should show you the problem.
> > So, is this only an issue when changing prefix during install time? Mayb
> e
> > that is why I've never seen this losing behavior.
>
>
> Yes, that's right. The prefix configured at configure time is
> obviously hardcoded in every makefile. Thus the fact that it is
> exported by GNU make doesn't matter; environment variables are
> overridden by things actually defined in a makefile. It needs to be
> passed on the command line in recursive makes, which is what my patch
> does.
Thanks for the explanation & help folks. I've installed Daniel's patch into
the branch and mainline sources to fix this problem.
jeff