[Clfs-support] clfs Version GIT-20130401-x86, GMP wont compile

William Harrington kb0iic at berzerkula.org
Mon Aug 26 09:43:04 PDT 2013

On Aug 26, 2013, at 10:41 AM, san wrote:

> Hi all!
> I'm trying to build my first clfs on i686 for i586.
> I'm on 6.3 gmp-5.0.5 stage.
> after config:
> HOST_CC=gcc CPPFLAGS=-fexceptions ./configure --prefix=/tools \
> --build=${CLFS_HOST} --host=${CLFS_TARGET} \
> --enable-cxx
> I get message "C++ compiler not available".
> After changeing --enable-cxx to --enable-cxx=detect it works (as  
> there is no i586-pc-linux-gnu-c++ only i586-pc-linux-gnu-c++flint),  
> but after that PPL-0.12.1 claims that there is no gmp compiled with  
> --enable-cxx.
> I'm tryind to solve this problem, but can not find how...

You should have a C++ complier after GCC final in chapter 5. If you  
don't, then you missed a step.

The binary should reside in /cross-tools/${CLFS_TARGET}/bin/g++ along  
with ar, as, c++, gcc, ld, ld.bfd, nm, objcopy, objdump, ranlib, and  

/cross/tools/bin should have ${CLFS_TARGET}-c++ as well as $ 
{CLFS_TARGET}-c++filt and cpp and ar and gcc etc, along with bc,  
cloog, dc, file, and m4 and all of the binutils binaries.


WIlliam Harrington

More information about the Clfs-support mailing list