On Sun, Jul 01, 2012 at 03:53:11PM +0100, spiky wrote: > On 01/07/12 09:32, Archie Arevalo wrote: > > Hello, my first time on the list and my first time to attempt LFS, > > > > I've looked around but I'm not sure what I am looking for. I have followed > > the > > instructions precisely and got binutils installed. > > > > Excerpt from http://pastebin.com/dGg0gaGi > > > >> make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc' > >> Checking multilib configuration for libgcc... > >> mkdir -p -- i686-lfs-linux-gnu/libgcc > >> Configuring in i686-lfs-linux-gnu/libgcc > >> configure: creating cache ./config.cache > >> checking for --enable-version-specific-runtime-libs... no > >> checking for a BSD-compatible install... /usr/bin/install -c > >> checking for gawk... gawk > >> checking build system type... i686-pc-linux-gnu > >> checking host system type... i686-lfs-linux-gnu > >> checking for i686-lfs-linux-gnu-ar... i686-lfs-linux-gnu-ar > >> checking for i686-lfs-linux-gnu-lipo... i686-lfs-linux-gnu-lipo > >> checking for i686-lfs-linux-gnu-nm... /mnt/lfs/sources/gcc-build/./gcc/nm > >> checking for i686-lfs-linux-gnu-ranlib... i686-lfs-linux-gnu-ranlib > >> checking for i686-lfs-linux-gnu-strip... i686-lfs-linux-gnu-strip > >> checking whether ln -s works... yes > >> checking for i686-lfs-linux-gnu-gcc... > >> /mnt/lfs/sources/gcc-build/./gcc/xgcc > > - > >> B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/i686-lfs-linux-gnu/bin/ - > >> B/tools/i686-lfs-linux-gnu/lib/ -isystem /tools/i686-lfs-linux-gnu/include > >> - > >> isystem /tools/i686-lfs-linux-gnu/sys-include > >> checking for suffix of object files... configure: error: in > > `/mnt/lfs/sources/gcc- > >> build/i686-lfs-linux-gnu/libgcc': > >> configure: error: cannot compute suffix of object files: cannot compile > >> See `config.log' for more details. > >> make[1]: *** [configure-target-libgcc] Error 1 > >> make[1]: Leaving directory `/mnt/lfs/sources/gcc-build' > >> make: *** [all] Error 2 > >> lfs:/mnt/lfs/sources/gcc-build$ > > The last part of the config.log is (complete logfile is at > > http://pastebin.com/CtC4sJ57 : > > > >> ## ----------- ## > >> ## confdefs.h. ## > >> ## ----------- ## > >> > >> /* confdefs.h */ > >> #define PACKAGE_NAME "" > >> #define PACKAGE_TARNAME "" > >> #define PACKAGE_VERSION "" > >> #define PACKAGE_STRING "" > >> #define PACKAGE_BUGREPORT "" > >> #define PACKAGE_URL "" > >> #define LT_OBJDIR ".libs/" > >> > >> configure: exit 0 > > Regards, > > Archie Arevalo > Can you post the output of version-check, And if you have built gcc > before did you remove the gcc dir and gcc-build dir then start with a > fresh untar gcc dir. > Apart from that, I think this is probably the wrong config.log : from memory, gcc and binutils run configure scripts in several directories, and each will create its own config.log. Perhaps there is one in libgcc/ ?
If you are building in /mnt/lfs/sources You can try e.g. 'find /mnt/lfs/sources -name config.log' Within the log, search for 'cannot compute suffix' (e.g. in 'vim/view' or 'less' you could use '/cannot\ compute\ suffix' : the error message from the compiler or linker will be just before that. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
