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 strip.

/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.


Sincerely,

WIlliam Harrington
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org

Reply via email to