[Bug c++/22443] New: Build/Install documentation error (HTML)
Reid dot Madsen at tek dot com
gcc-bugzilla@gcc.gnu.org
Tue Jul 12 15:07:00 GMT 2005
GCC VERSION: 3.4.3
OS Type: sparc-sun-solaris2.8
CONFIG: --prefix=/home/rmadsen/gnu/sol-2.8
--with-ld=/home/rmadsen/gnu/sol-2.8/bin/ld --with-gnu-ld
--with-as=/home/rmadsen/gnu/sol-2.8/bin/as --with-gnu-as
BUILD: make CFLAGS='-O' LIBCFLAGS='-g -O2' \
LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap
Following the guidelines, I'm using a separate OBJDIR and SRCDIR. So, the exact
sequence of the above was:
cd OBJDIR
SRCDIR/configure --prefix=/home/rmadsen/gnu/sol-2.8
--with-ld=/home/rmadsen/gnu/sol-2.8/bin/ld --with-gnu-ld
--with-as=/home/rmadsen/gnu/sol-2.8/bin/as --with-gnu-as
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates'
bootstrap
make install
The 'install' step fails on the following command:
../gcc-3.4.3/install-sh -c g++ OBJDIR/bin/g++
with the following error:
../gcc-3.4.3/install-sh: g++ does not exist
I discovered that by doing the following that the installation succeeded:
cd OBJDIR/gcc
make install
Note the additional directory component '/gcc'. This is not mentioned in the
documentation.
Please do one of the following (for those that follow me in this process)
1. Fix the documentation, OR
2. Fix the OBJDIR/Makefile to do the 'cd OBJDIR/gcc' before invoking 'make install'
3. If I screwed up let me know.
Reid Madsen
Tektronix, Inc.
--
Summary: Build/Install documentation error (HTML)
Product: gcc
Version: 3.4.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Reid dot Madsen at tek dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: ???
GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22443
More information about the Gcc-bugs
mailing list