This is the mail archive of the gcc-patches@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: [PATCH] gcc-2.95 make install prefix=... broken with multilibs (was: Re: Makefiles advice needed...)


  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


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