Please find below the detail of configuration. *Current working directory gcc-4.5.2 *lfs@nomad:~/gcc-build/gcc-4.5.2$ pwd /home/lfs/gcc-build/gcc-4.5.2
*Searcihng for gmp directory in gcc-4.5.2* lfs@nomad:~/gcc-build/gcc-4.5.2$ ls | grep -r "gmp" gmp *Configuration* ./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=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs --without-ppl --without-cloog checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for a sed that does not truncate output... /bin/sed checking for gawk... gawk checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for gnatbind... no checking for gnatmake... no checking whether compiler driver understands Ada... no checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2 checking for objdir... .libs checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking libelf.h usability... no checking libelf.h presence... no checking for libelf.h... no checking gelf.h usability... no checking gelf.h presence... no checking for gelf.h... no checking libelf/libelf.h usability... no checking libelf/libelf.h presence... no checking for libelf/libelf.h... no checking libelf/gelf.h usability... no checking libelf/gelf.h presence... no checking for libelf/gelf.h... no *** This configuration is not supported in the following subdirectories: target-libada gnattools target-libstdc++-v3 target-libgfortran target-libffi target-zlib target-libjava target-libobjc target-libgomp target-libmudflap target-libssp target-boehm-gc (Any other directories should still work fine.) checking for default BUILD_CONFIG... bootstrap-debug checking for bison... bison -y checking for bison... bison checking for gm4... no checking for gnum4... no checking for m4... m4 checking for flex... flex checking for flex... flex checking for makeinfo... makeinfo checking for expect... no checking for runtest... no checking for ar... ar checking for as... as checking for dlltool... no checking for ld... ld checking for lipo... no checking for nm... nm checking for ranlib... ranlib checking for strip... strip checking for windres... no checking for windmc... no checking for objcopy... objcopy checking for objdump... objdump checking for i686-pc-linux-gnu-cc... no checking for cc... cc checking for i686-pc-linux-gnu-c++... no checking for c++... c++ checking for i686-pc-linux-gnu-gcc... no checking for gcc... gcc checking for i686-pc-linux-gnu-gcj... no checking for gcj... gcj checking for i686-pc-linux-gnu-gfortran... no checking for gfortran... no checking for ar... /tools/i686-pc-linux-gnu/bin/ar checking for as... /tools/i686-pc-linux-gnu/bin/as checking for dlltool... no checking for i686-pc-linux-gnu-dlltool... no checking for dlltool... no checking for ld... /tools/i686-pc-linux-gnu/bin/ld checking for lipo... no checking for i686-pc-linux-gnu-lipo... no checking for lipo... no checking for nm... /tools/i686-pc-linux-gnu/bin/nm checking for objdump... /tools/i686-pc-linux-gnu/bin/objdump checking for ranlib... /tools/i686-pc-linux-gnu/bin/ranlib checking for strip... /tools/i686-pc-linux-gnu/bin/strip checking for windres... no checking for i686-pc-linux-gnu-windres... no checking for windres... no checking for windmc... no checking for i686-pc-linux-gnu-windmc... no checking for windmc... no checking where to find the target ar... pre-installed in /tools/i686-pc-linux-gnu/bin checking where to find the target as... pre-installed in /tools/i686-pc-linux-gnu/bin checking where to find the target cc... just compiled checking where to find the target c++... host tool checking where to find the target c++ for libstdc++... host tool checking where to find the target dlltool... host tool checking where to find the target gcc... just compiled checking where to find the target gcj... host tool checking where to find the target gfortran... host tool checking where to find the target ld... pre-installed in /tools/i686-pc-linux-gnu/bin checking where to find the target lipo... host tool checking where to find the target nm... pre-installed in /tools/i686-pc-linux-gnu/bin checking where to find the target objdump... pre-installed in /tools/i686-pc-linux-gnu/bin checking where to find the target ranlib... pre-installed in /tools/i686-pc-linux-gnu/bin checking where to find the target strip... pre-installed in /tools/i686-pc-linux-gnu/bin checking where to find the target windres... host tool checking where to find the target windmc... host tool checking whether to enable maintainer-specific portions of Makefiles... no checking whether -fkeep-inline-functions is supported... yes configure: creating ./config.status config.status: creating Makefile So please let me know if I missed something here. On Fri, Jul 29, 2011 at 4:46 PM, sandip sitapara <s13884...@gmail.com>wrote: > gmp directory is inside the gcc folder. And gcc finds the gmp while > configuring. Have you had a chance to look at the archive of gmp lib? > > On Fri, Jul 29, 2011 at 4:05 PM, Andrew Benton <b3n...@gmail.com> wrote: > >> On Fri, 29 Jul 2011 07:21:07 +0530 >> sandip sitapara <s13884...@gmail.com> wrote: >> >> > I got the -lgmp not found error while compiling the GCC. So I tired to >> find >> > the mpc/config.log to know the exact problem but I couldn't find the log >> > file. But I did check the gmp directory that .lib is missing. Also I did >> > check the another version of gmp (gmp-5.0.2) and .lib is also not there >> in >> > that directory. So is this right? I am confused. >> >> Where is the gmp directory? Is it inside the gcc source folder? Did >> gcc's configure find the gmp source when you ran configure? >> >> Andy >> -- >> 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