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: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- 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: Sat, 17 Jul 1999 21:53:40 -0600
- cc: Daniel Jacobowitz <drow at false dot org>, egcs-patches at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <4.2.0.58.19990716121701.050f08b0@mail.lauterbach.com>you write:
> This problem happens when building outside of the sourcetree too. It didn't
> happen to me, cause due to some unknown reason I owned the /usr/lib/nof
> directory on the building machine I use and so I had the right to install
> in there :-(.
>
> You can easily reproduce this problem with the following sequence on any
> machine where libiberty and friends are multilibbed:
>
> su
> 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? Maybe
that is why I've never seen this losing behavior.
jeff