I am having dificulties in step 5.8
(http://www.linuxfromscratch.org/lfs/view/development/chapter05/gcc-libstdc++.html)


I am capable of configuring and building the libc++-v3 package as it
indicates, but when when I go to install it I get the following error:


../libtool: line 1132: i686-pc-linux-gnu-ranlib: command not found
make[2]: *** [install-toolexeclibLTLIBRARIES] Error 127
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1


Which is odd, when i686-pc-linux-gnu-ranlib exists in $PREFIX/bin, and
this directory is the first element in my PATH variable. Heck, I can
type i686-pc-linux-gnu-ranlib at the same prompt I'm receiving this
error from and get ranlibs' help output. Any idea's as to what to try
would be appreciated, since everything I know indicates that it should
be able to find i686-pc-linux-gnu-ranlib.

I've configured binutils with:
../configure --prefix=$PREFIX \
             --with-sysroot=$PREFIX \
             --with-lib-path=$PREFIX/lib \
             --build=$BUILD \
             --host=$HOST \
             --target=$TARGET > ../../binutils.log \
             CFLAGS="-m32" \
             CXXFLAGS="-m32"

And glibc++ with the following (from a clean gcc directory):
  ../libstdc++-v3/configure \
                            --host=$TARGET \
                            --build=$BUILD \
                            --prefix=$PREFIX \
                            --disable-multilib \
                            --disable-nls \
                            --disable-libstdcxx-threads \
                            --disable-libstdcxx-pch \

--with-gxx-include-dir=$PREFIX/$TARGET/include/c++/6.3.0  \
                            CFLAGS="-m32" \
                            CXXFLAGS="-m32" > ../../libstc++_phase_1.log



Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to