[lfs-support] LFS 7.2 GCC pass 1

Israel Silberg israel at silberg.co.il
Mon Sep 3 04:33:36 PDT 2012


Hi,
Thanks for your reply.
I extracted all of these packages from within the GCC-4.7.1 folder
and the configure and make are from gcc-build
Here is the output for ls -lah of gcc-4.7.1

lfs at kitt-Lenovo-Product:/mnt/lfs/sources/gcc-4.7.1$ ls -lah
total 11M
drwxr-xr-x 33 lfs lfs 4.0K Sep  3 09:25 .
drwxrwxrwt  4 lfs lfs 4.0K Sep  3 09:27 ..
-rw-r--r--  1 lfs lfs  38K Jul  4  2003 ABOUT-NLS
-rw-r--r--  1 lfs lfs  18K Jul 14  2005 COPYING
-rw-r--r--  1 lfs lfs  26K Jul 14  2005 COPYING.LIB
-rw-r--r--  1 lfs lfs 3.3K Apr  9  2009 COPYING.RUNTIME
-rw-r--r--  1 lfs lfs  35K Jul 17  2007 COPYING3
-rw-r--r--  1 lfs lfs 7.5K Jul 17  2007 COPYING3.LIB
-rw-r--r--  1 lfs lfs 524K Jun 14 11:27 ChangeLog
-rw-r--r--  1 lfs lfs 3.2K May 13  2004 ChangeLog.tree-ssa
drwxr-xr-x  2 lfs lfs 4.0K Jun 14 11:48 INSTALL
-rw-r--r--  1 lfs lfs   58 Jun 14 11:48 LAST_UPDATED
-rw-r--r--  1 lfs lfs  22K Feb 17  2012 MAINTAINERS
-rw-r--r--  1 lfs lfs 6.0M Jun 14 13:01 MD5SUMS
-rw-r--r--  1 lfs lfs  25K Jan  2  2012 Makefile.def
-rw-r--r--  1 lfs lfs 1.4M May 16 18:54 Makefile.in
-rw-r--r--  1 lfs lfs  67K May 16 18:54 Makefile.tpl
-rw-r--r--  1 lfs lfs 579K Jun 14 11:48 NEWS
-rw-r--r--  1 lfs lfs  815 Oct 10  2009 README
drwxr-xr-x  7 lfs lfs 4.0K Jun 14 11:35 boehm-gc
-rwxr-xr-x  1 lfs lfs 3.7K Aug 22  2009 compile
drwxr-xr-x  2 lfs lfs 4.0K Jun 14 11:35 config
-rw-r--r--  1 lfs lfs  25K Mar 22  2011 config-ml.in
-rwxr-xr-x  1 lfs lfs  44K Jun  6  2011 config.guess
-rwxr-xr-x  1 lfs lfs  15K Feb 13  2011 config.rpath
-rwxr-xr-x  1 lfs lfs  35K Nov  2  2011 config.sub
-rwxr-xr-x  1 lfs lfs 458K Feb  2  2012 configure
-rw-r--r--  1 lfs lfs 101K Feb  2  2012 configure.ac
drwxr-xr-x  5 lfs lfs 4.0K Jun 14 11:35 contrib
-rwxr-xr-x  1 lfs lfs  19K Aug 22  2009 depcomp
drwxr-xr-x  3 lfs lfs 4.0K Jun 14 11:48 fixincludes
drwxr-xr-x 17 lfs lfs  20K Sep  3 09:27 gcc
drwxr-xr-x 14 lfs lfs 4.0K May  6 14:20 gmp
drwxr-xr-x  2 lfs lfs 4.0K Jun 14 11:37 gnattools
drwxr-xr-x  2 lfs lfs 4.0K Jun 14 11:35 include
-rwxr-xr-x  1 lfs lfs  14K Aug 22  2009 install-sh
drwxr-xr-x  2 lfs lfs 4.0K Jun 14 11:34 intl
drwxr-xr-x  2 lfs lfs 4.0K Jun 14 11:48 libada
drwxr-xr-x  4 lfs lfs 4.0K Jun 14 11:48 libcpp
drwxr-xr-x  4 lfs lfs 4.0K Jun 14 11:37 libdecnumber
drwxr-xr-x  7 lfs lfs 4.0K Jun 14 11:48 libffi
drwxr-xr-x  4 lfs lfs 4.0K Jun 14 11:37 libgcc
drwxr-xr-x  9 lfs lfs 4.0K Jun 14 11:48 libgfortran
drwxr-xr-x  6 lfs lfs 4.0K Jun 14 11:47 libgo
drwxr-xr-x  4 lfs lfs 4.0K Jun 14 12:02 libgomp
drwxr-xr-x  4 lfs lfs 4.0K Jun 14 11:35 libiberty
drwxr-xr-x  4 lfs lfs 4.0K Jun 14 13:01 libitm
drwxr-xr-x 15 lfs lfs 4.0K Jun 14 11:37 libjava
drwxr-xr-x  3 lfs lfs 4.0K Jun 14 11:34 libmudflap
drwxr-xr-x  4 lfs lfs 4.0K Jun 14 11:47 libobjc
drwxr-xr-x  5 lfs lfs 4.0K Jun 14 12:49 libquadmath
drwxr-xr-x  3 lfs lfs 4.0K Jun 14 11:48 libssp
drwxr-xr-x 11 lfs lfs 4.0K Jun 14 11:34 libstdc++-v3
-rwxr-xr-x  1 lfs lfs 3.3K Sep 20  2007 libtool-ldflags
-rw-r--r--  1 lfs lfs 258K Nov 21  2011 libtool.m4
-rw-r--r--  1 lfs lfs 1.8K Sep 26  2008 ltgcc.m4
-rw-r--r--  1 lfs lfs 244K Jan 13  2011 ltmain.sh
drwxr-xr-x  2 lfs lfs 4.0K Jun 14 11:35 lto-plugin
-rw-r--r--  1 lfs lfs  12K Dec  5  2009 ltoptions.m4
-rw-r--r--  1 lfs lfs 4.3K Sep 26  2008 ltsugar.m4
-rw-r--r--  1 lfs lfs  703 Dec  5  2009 ltversion.m4
-rw-r--r--  1 lfs lfs 6.0K Dec  5  2009 lt~obsolete.m4
drwxr-xr-x  2 lfs lfs 4.0K Jun 14 11:37 maintainer-scripts
-rwxr-xr-x  1 lfs lfs  12K Aug 22  2009 missing
-rwxr-xr-x  1 lfs lfs 2.2K Jul 22  2000 mkdep
-rwxr-xr-x  1 lfs lfs 3.5K Aug 22  2009 mkinstalldirs
-rwxr-xr-x  1 lfs lfs 2.6K Feb 12  2011 move-if-change
drwxr-xr-x  6 lfs lfs 4.0K Jul 19 15:46 mpc
drwxr-xr-x  9 lfs lfs 4.0K Jul  3 18:02 mpfr
-rwxr-xr-x  1 lfs lfs 2.3K Jul 14  2005 symlink-tree
-rwxr-xr-x  1 lfs lfs 6.1K Aug 22  2009 ylwrap
drwxr-xr-x 11 lfs lfs 4.0K Jun 14 11:34 zlib


On Mon, Sep 3, 2012 at 11:22 AM, William Harrington <berzerkula at cox.net>wrote:

>
> On Sep 3, 2012, at 01:53 AM, Israel Silberg wrote:
>
> > checking for MPFR... no
> > configure: error: libmpfr not found or uses a different ABI
> > (including static vs shared).
>
> Most likely trying to use the host's installed mpfr.
>
> First extract the gcc tarball from the sources directory and then
> change to the directory created. Only then should you proceed with
> the instructions below. (note at gcc pass1)
>
> Example:
>
>
>
> cd $LFS/sources
>
> tar xf gcc-4.7.1.tar.bz2
>
> cd gcc-4.7.1
>
> tar -Jxf ../mpfr-3.1.1.tar.xz
> mv -v mpfr-3.1.1 mpfr
> tar -Jxf ../gmp-5.0.5.tar.xz
> mv -v gmp-5.0.5 gmp
> tar -zxf ../mpc-1.0.tar.gz
> mv -v mpc-1.0 mpc
>
> .........rest of book commands for gcc pass1
>
> Section 5.3 is clear, the note of gcc is clear. not sure what else
> could be said to make it clear.
> Prerequisites are clear.
>
> Sincerely,
>
> William Harrington
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20120903/8231be10/attachment.html>


More information about the lfs-support mailing list