This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/11408] installation fails for many target libraries using CONFIG_SHELL
- From: "rlw at cinci dot rr dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jul 2003 14:31:22 -0000
- Subject: [Bug bootstrap/11408] installation fails for many target libraries using CONFIG_SHELL
- References: <20030702154556.11408.pme@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11408
------- Additional Comments From rlw at cinci dot rr dot com 2003-07-22 14:31 -------
Subject: Re: installation fails for many target libraries
using CONFIG_SHELL
If I modify the top level Makefile immediately after running configure
and make the following change
#INSTALL = $(SHELL) $$s/install-sh -c
INSTALL = $$s/install-sh -c
The calls to libtool while installing libffi.la and other files work
properly. I believe nothing else is effected and this will simply run
as the shell of the installer process. As long as this is /bin/ksh or
bash then it seems to behave properly. Hope this helps.
Richard
rlw at cinci dot rr dot com wrote:
>PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
>
>http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11408
>
>
>
>------- Additional Comments From rlw at cinci dot rr dot com 2003-07-22 02:57 -------
>Subject: Re: installation fails for many target libraries
> using CONFIG_SHELL
>
>When looking at the Makefile though the $INSTALL value is not relative.
>It is fully qualified, unless I'm looking in the wrong spot. There seem
>to only be a few places where libtool is actually called out such as
>libstdc++-v3/libffi or libjava. Here is an example of the value of
>$INSTALL as set in the Makefile for sparc-sun-solaris2.7/sparcv9/libjava:
>
>INSTALL = /bin/ksh /export/apps/software_orig/gcc/gcc-3.3/install-sh -c
>
>
>Notice the /bin/ksh in front of the call to install-sh. This seems to
>work just fine when $INSTALL is referenced directly, but when it is
>called by libtool it crashes with a libtool error.
>
>pme at gcc dot gnu dot org wrote:
>
>
>
>>PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
>>
>>http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11408
>>
>>
>>
>>------- Additional Comments From pme at gcc dot gnu dot org 2003-07-22 00:58 -------
>>The gcc subdirectory doesn't use libtool to install binaries like "g++". And
>>that's one of the files that can't be installed because a relative $INSTALL
>>points to a real file only at the top of the build tree.
>>
>>
>>
>>
>>------- You are receiving this mail because: -------
>>You are on the CC list for the bug, or are watching someone who is.
>>
>>
>>
>>
>>
>
>
>
>
>
>------- You are receiving this mail because: -------
>You are on the CC list for the bug, or are watching someone who is.
>
>
>