> Date: Thu, 05 Dec 2013 18:08:56 +0000
> From: [email protected] (akhiezer)
> To: LFS Support List <[email protected]>
> Subject: Re: [lfs-support] GCC build first pass: mpc build looks for
> libgmp.la in the wrong place
>
.
.
> > I have tried two experimental builds. In the first, I used two
> > additional configuration parameters in the hope that they would tell the
> > compiler the correct place to look for information on gmp:
> > --with_gmp_include=$(pwd)/gmp and --with_gmp_lib=$(pwd)/gmp/.libs. But
> > this did not have any effect on the error.
>
>
> Just to check: did you use underscores there - i.e. in the above
> --with_gmp_include=$(pwd)/gmp and --with_gmp_lib=$(pwd)/gmp/.libs
> ; or did you use hyphens/dashes thus:
> --with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs
> ?
Hazel, did you have any info on the above query re underscores?
>
> lfs-6.7 and lfs-6.8 both use './configure ...' options:
> --with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs
> ; and they don't use any mpfr/mpc stuff.
>
> And lfs-7.0 thru lfs-7.4 uses (I've replaced the gcc version numbers with the
> literal string '${GCC_VERNUM}'):
> --with-mpfr-include=$(pwd)/../gcc-${GCC_VERNUM}/mpfr/src \
> --with-mpfr-lib=$(pwd)/mpfr/src/.libs
> ; and they don't use any gmp/mpc stuff.
>
> Had a brief look at trac to see why the switchover at 6.8 -> 7.0 , and why
> wanting/needing to specify those options to './configure ...' explicitly; but
> nothing obvious in the time spent.
>
Will leave the above remarks here, as likely to return to it.
>
> >
> > For the second try, I simply put a symbolic link into /usr/lib64
> > pointing to /mnt/lfs/sources/gcc-build/gmp/.libs/libgmp.la. Then the
> > build was successful.
> >
.
.
>
There are quite a few problems reported over recent years, with folks - one
way or another - having some trouble in getting mpfr/gmp/mpc picked up
properly & automatically in the way intended; and often 'needing' to tell
'./configure' explicitly (not always with complete success), or resort to
other measures.
rgds,
akh
--
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page