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

san san at plusnet.pl
Mon Aug 26 10:28:53 PDT 2013


Ok, my mistake. Book is ok, it was my misspell.

Regards and thanks again!


2013/8/26 san <san at plusnet.pl>

> In instruction (5.14 cross gcc instruction) command line includes ONLY c
> only. C++ is excluded. It is propably misspelled.
>
> Thanks for the reply!
> i'm sure it will help.
>
> Best regards!
> 26 sie 2013 18:43, "William Harrington" <kb0iic at berzerkula.org>
> napisał(a):
>
>
>> 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
>> Clfs-support at lists.cross-lfs.**org <Clfs-support at lists.cross-lfs.org>
>> http://lists.cross-lfs.org/**listinfo.cgi/clfs-support-**cross-lfs.org<http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org>
>>
>


-- 
[ e-San.info | San at plusnet.pl ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20130826/ef12f0f0/attachment-0001.htm>


More information about the Clfs-support mailing list