http://www.linuxfromscratch.org/lfs/view/stable/chapter05/gcc-pass1.html
I have done it as per this URL and Next chapter is Glibc where I am stuck on make check I have used --enable-languages=c only not c++ so is there any issue ?? as per document only --enable-languages=c is there so I have used only C My ld can not find file -lstdcc++ is this the problem ?? I have installed this package even libstdc++-3.4.6-9 libstdc++-devel-3.4.6-9 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Valter Douglas Lisbôa Jr. Sent: Tuesday, August 26, 2008 3:46 PM To: LFS Support List Subject: Re: Glibc cannot find -lstdc++ Em Tuesday 26 August 2008 16:36:10 satish patel escreveu: > I have completed GCC Installation but what about c++ it is not in LFS book, > I am doing this step from LFS book ...step by step. c++ is not a separate package, it's included in GCC, verify if you put --enable-languages=c,c++ in your last GCC ./configure. What part of book are you? In toolchain or chroot? > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Valter > Douglas Lisbôa Jr. > Sent: Tuesday, August 26, 2008 3:25 PM > To: LFS Support List > Subject: Re: Glibc cannot find -lstdc++ > > Em Tuesday 26 August 2008 15:45:50 Satish Patel escreveu: > > I got this error on make check for glibc > > > > > > ces/glibc-build/libc_nonshared.a -lstdc++ -lgcc_eh > > /mnt/lfs/sources/glibc-build/elf/ld.so > > /mnt/lfs/sources/glibc-build/libc_nonshared.a > > /tools/bin/ld: cannot find -lstdc++ > > collect2: ld returned 1 exit status > > make[2]: *** [/mnt/lfs/sources/glibc-build/dlfcn/bug-atexit3-lib.so] > > Error 1 make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.5.1/dlfcn' > > make[1]: *** [dlfcn/tests] Error 2 > > make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.5.1' > > make: *** [check] Error 2 > > lfs:/mnt/lfs/sources/glibc-build$ /tools/bin/ld > > ld ld-new > > lfs:/mnt/lfs/sources/glibc-build$ /tools/bin/ld > > /tools/bin/ld: no input files > > lfs:/mnt/lfs/sources/glibc-build$ > > > > What i do i ignore this error or do something to resolve it ? > > Did you compile gcc with c++? > > > Regards, > > > > Satish Patel | Unix Administrator > > _________________________________ > > Mobile : +1-646-327-9153 > > Email : [EMAIL PROTECTED] > > Home page : www.linuxbug.org > > -- > Valter Douglas Lisbôa Jr. > Sócio-Diretor > Trenix - IT Solutions > "Nossas Idéias, suas Soluções!" > www.trenix.com.br > [EMAIL PROTECTED] > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page -- Valter Douglas Lisbôa Jr. Sócio-Diretor Trenix - IT Solutions "Nossas Idéias, suas Soluções!" www.trenix.com.br [EMAIL PROTECTED] -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
