> Date: Wed, 26 Feb 2014 19:04:18 +0100 > From: "Armin K." <kre...@email.com> > To: LFS Developers Mailinglist <lfs-dev@linuxfromscratch.org> > Subject: Re: [lfs-dev] gcc pass 1/2 instructions re mpfr/gmp/mpc. > > On 02/26/2014 07:05 PM, akhiezer wrote: > > > > Hi, > > > > > > Does gcc pass1 & pass2 instructions need '--with-gmp...' (possibly also > > '--with-mpc...') configure options (re-)added, or have mpfr/gmp/mpc listed > > in the book's general host-requirements ('prologue/hostreqs.html') ? > > > > > > Both gcc pass1 and pass2 extract gmp, mpfr and mpc into the gcc source > tarball before starting the build. They get built in the gcc build > process that way. >
Yeah, that was broadly folks' 'carried-along' understanding: but per thread details, it seems maybe not - and seems that gcc was looking into host-os; and if mpc not present in host-os - or moved-aside as a debug-test of the issue - then gcc pass build fails; & iirc similarly for at least mpfr; & iiuic/iirc that's at least partly why configure gets told those '--with-...' details. > > Reason is that it looks like if host system doesn't have either of at > > least gmp or mpfr - or gcc pass 1/2 can't locate them - then the gcc pass > > 1/2 build fails. > > > > > > Fuller details are in the thread: > > ---- > > list: lfs-support > > date: 2013 nov thru dec (some init posts of thread were iirc a bit earlier). > > subject: GCC build first pass: mpc build looks for libgmp.la in the wrong > > place > > OP & solver: Hazel Russman > > ---- > > > > > > A summary wrt possible book adjustments, is at: > > > > > > https://www.mail-archive.com/lfs-support@linuxfromscratch.org/msg21219.html > > > > (Can re-include message inline here if preferred (is that method preferred, > > or is web-links to acting archives ok)). As noted in/ca that message, > > the trac-recorded history of gcc pass1/2 wrt these config options, looks > > perhaps a bit unusual ca lfs-6.8/7.0 ; looks like maybe something got > > omitted/'dropped-between-two-stools' inadvertently? > > > > > > > > rgds, > > akhiezer > > > > > > -- > Note: My last name is not Krejzi. > -- > -- -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page