This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
bootstrap/10267: Wrong build instructions for *-*-solaris2*
- From: Hallvard B Furuseth <h dot b dot furuseth at usit dot uio dot no>
- To: gcc-gnats at gcc dot gnu dot org
- Date: Sun, 30 Mar 2003 11:58:48 +0200
- Subject: bootstrap/10267: Wrong build instructions for *-*-solaris2*
>Number: 10267
>Category: bootstrap
>Synopsis: Wrong build instructions for *-*-solaris2*
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Sun Mar 30 10:06:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Hallvard B Furuseth
>Release: 3.2.2
>Organization:
University of Oslo
>Environment:
System: SunOS bombur.uio.no 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-5_10
Architecture: sun4
host: sparc-sun-solaris2.8
build: sparc-sun-solaris2.8
target: sparc-sun-solaris2.8
configured with: ../gcc-3.2.2/configure --enable-languages=c,c++,f77 --prefix=/usit/bombur/hbf --enable-version-specific-runtime-libs --enable-threads
>Description:
INSTALL/specific.html#*-*-solaris2* says one should set
CONFIG_SHELL to /bin/ksh for configure. However, it is
also needed during make bootstrap, since it is bootstrap
which configures libstdc++-v3.
>How-To-Repeat:
env CONFIG_SHELL=/bin/ksh ../gcc-3.2.2/configure
make -s bootstrap
Output:
...
loading cache ../config.cache within ltconfig
configure: error: libtool configure failed
make[1]: *** [configure-target-libstdc++-v3] Error 1
make: *** [bootstrap] Error 2
>Fix:
"... set CONFIG_SHELL to /bin/ksh in your environment before
running configure and 'make bootstrap'."
I also suggest to remove the 'If you encounter this problem'
phrase since it takes two hours before one encounters it.
Try 'Therefore, we suggest you set CONFIG_SHELL...'.
>Release-Note:
>Audit-Trail:
>Unformatted: