LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Which directory are mpc, gmp & mpfr stored in after extraction? (https://www.linuxquestions.org/questions/linux-newbie-8/which-directory-are-mpc-gmp-and-mpfr-stored-in-after-extraction-863919/)

sophanox 02-20-2011 04:18 PM

Which directory are mpc, gmp & mpfr stored in after extraction?
 
Hey guys,

I'm trying to do a linux from scratch build (using the livecd) and am currently trying to compile and install gcc. However, this error keeps popping up:

checking for correct version of gmp/mpfr/mpc libraries...no

I've tried all the possible directories I can find for each one, but as the error doesn't specify which particular library it can't find it makes life pretty difficult =/

This is my current string:

../gcc-4.5.1/configure \
--target=$LFS_TGT --prefix=/tools \
--disable-nls --disable-shared --disable-multilib \
--disable-decimal-float --disable-threads \
--disable-libmudflap --disable-libssp \
--disable-libgomp --enable-languages=c \
--with-gmp-include=/mnt/lfs/sources/gcc-build/gmp \
--with-gmp-lib=/mnt/lfs/sources/gcc-build/gmp/.libs \
--with-mpfr-include=/mnt/lfs/sources/gcc-build/mpfr \
--with-mpfr-lib=/mnt/lfs/sources/gcc-build/mpfr/.libs \
--with-mpc-include=/mnt/lfs/sources/gcc-build/mpc/src \
--with-mpc-lib=/mnt/lfs/sources/gcc-build/mpc/src/.libs \
--without-ppl --without-cloog

It took me long enough to find the .h files and I thought it was finally over with, but now this! Argh!

Any help is much appreciated, cheers =)

sophanox 02-20-2011 05:07 PM

Ah got it working thanks to some help in the irc channel

Cheers

grail 02-20-2011 06:14 PM

Please mark as SOLVED once you have a solution. Perhaps also post the solution so others may benefit from your new found knowledge :)


All times are GMT -5. The time now is 06:31 AM.