Rajinder Yadav wrote: > Hi Justin, > > after Michael Tsang feedback on where to put mpfr and gmp, I went to the GCC > build page and it states that if the sources are put under the gcc source, > they will get built when gcc is built: > > Ref: http://gcc.gnu.org/install/prerequisites.html > > Multiple Precision Library (GMP) version 4.2 (or later) > Necessary to build GCC. If you do not have it installed in your library > search path, you will have to configure with the --with-gmp configure option. > See also --with-gmp-lib and --with-gmp-include. Alternatively, if a GMP > source distribution is found in a subdirectory of your GCC sources named gmp, > it will be built together with GCC. > > Kind Regards, > Rajinder Yadav > > > --- On Sun, 7/5/09, Justin P. Mattock<justinmatt...@gmail.com> wrote: > > >> From: Justin P. Mattock<justinmatt...@gmail.com> >> Subject: Re: confused at chapter 5.6 >> To: "LFS Support List"<lfs-support@linuxfromscratch.org> >> Received: Sunday, July 5, 2009, 12:25 AM >> Rajinder Yadav wrote: >> >>> Hi Justin, >>> >>> thanks that cleared things up and I was able to >>> >> proceed. >> >>> Also, I was able to build and install GCC without any >>> >> issues but I didn't build the supporting packages (mpfr and >> gmp) and I don't have the devel package for them installed. >> >>> I guess it would be safe to rebuild GCC =) after >>> >> building mpfr and gmp! >> >>> Kind Regards, >>> Rajinder Yadav >>> >>> >>> --- On Sat, 7/4/09, Justin P. Mattock<justinmatt...@gmail.com> >>> >> wrote: >> >>> >>> >>>> From: Justin P. Mattock<justinmatt...@gmail.com> >>>> Subject: Re: confused at chapter 5.6 >>>> To: "LFS Support List"<lfs-support@linuxfromscratch.org> >>>> Received: Saturday, July 4, 2009, 11:04 PM >>>> Rajinder Yadav wrote: >>>> >>>> >>>>> I am confused at what needs to be done in >>>>> >> chapter 5.6. >> >>>>> >>>>> >>>> Linux-2.6.27.4 API Headers. >>>> >>>> >>>>> do I need to unzip the linux kernel at this >>>>> >> point? >> >>>>> which direction is this command executed >>>>> >> from? >> >>>>> where is 'headers_check' defined for 'make >>>>> >>>>> >>>> headers_check' step? >>>> >>>> >>>>> Also in the prior step for building gcc, were >>>>> >> we just >> >>>>> >>>>> >>>> to unzip and rename files mpfr and gmp without >>>> >> building >> >>>> these packages? >>>> >>>> >>>>> Kind Regards, >>>>> Rajinder Yadav >>>>> >>>>> >>>>> >>>>> >>>>> >> __________________________________________________________________ >> >>>> >>>> >>>>> The new Internet Explorer® 8 - Faster, >>>>> >> safer, >> >>>>> >>>>> >>>> easier. Optimized for Yahoo! Get it >>>> >> Now for >> >>>> Free! at http://downloads.yahoo.com/ca/internetexplorer/ >>>> >>>> >>>>> >>>>> >>>> Well firstly you would have untar >>>> the tar ball from kernel.org, then >>>> move into the new kernel's source tree >>>> to execute those commands. >>>> or if your distribution already has a kernel >>>> move to it's source tree to execute those >>>> >> commands. >> >>>> mpfr and gmp need to be built and installed >>>> >> before >> >>>> compiling >>>> gcc(or use the hosts systems gmp/mpfr i.g. apt-get >>>> >> install >> >>>> * >>>> if your on debian/ubuntu). >>>> >>>> Justin P. Mattock >>>> -- >>>> http://linuxfromscratch.org/mailman/listinfo/lfs-support >>>> FAQ: http://www.linuxfromscratch.org/lfs/faq.html >>>> Unsubscribe: See the above information page >>>> >>>> >>>> >>> >>> >> __________________________________________________________________ >> >>> Be smarter than spam. See how smart SpamGuard is at >>> >> giving junk email the boot with the All-new Yahoo! >> Mail. Click on Options in Mail and switch to New Mail >> today or register for free at http://mail.yahoo.ca >> >>> >>> >> Whatever distro you have >> probably has those headers and libs, >> but once you boot into the new system >> and decide to compile gcc, you probably will need those. >> (but could be wrong) >> As for compiling mpfr/gmp, Ive heard about putting >> those >> into the gcc source tree, but never did that approach >> I just compiled separately and then told gcc where they >> are >> located. >> >> Justin P. Mattock >> -- >> http://linuxfromscratch.org/mailman/listinfo/lfs-support >> FAQ: http://www.linuxfromscratch.org/lfs/faq.html >> Unsubscribe: See the above information page >> >> > > > __________________________________________________________________ > Looking for the perfect gift? Give the gift of Flickr! > > http://www.flickr.com/gift/ > Cool thanks for that, makes things easier.
Justin P. Mattock -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page