for binutils, "make configure-host" appears unnecessary

Robert P. J. Day rpjday at mindspring.com
Tue Nov 1 22:49:32 PST 2005


  just to satisfy my curiosity, i configured, made and installed
binutils following the instructions here:

http://www.linuxfromscratch.org/lfs/view/cross-lfs/ppc/cross-tools/binutils.html

and the "make configure-host" command *appears* entirely superfluous.
obviously, it doesn't hurt but this was nagging at me since that
command is not part of the binutils build in "crosstool" so i was a
bit nervous at being told it was required for proper operation.

  building both ways gave me diff output that showed differences only
in three generated libs (probably just related to timestamps?):

$ diff -Nru ct1.orig ct1
Binary files
ct1.orig/i686-pc-linux-gnu/powerpc-unknown-linux-gnu/lib/libbfd.a and
ct1/i686-pc-linux-gnu/powerpc-unknown-linux-gnu/lib/libbfd.a differ
Binary files
ct1.orig/i686-pc-linux-gnu/powerpc-unknown-linux-gnu/lib/libopcodes.a
and ct1/i686-pc-linux-gnu/powerpc-unknown-linux-gnu/lib/libopcodes.a
differ
Binary files ct1.orig/lib/libiberty.a and ct1/lib/libiberty.a differ

while the sizes of those libs are identical:

$ find ct1* -name "*.a" -exec ls -l {} \;
-rw-r--r--  1 rpjday rpjday 497742 Nov  2 01:40 ct1/lib/libiberty.a
-rw-r--r--  1 rpjday rpjday 3853330 Nov  2 01:40
ct1/i686-pc-linux-gnu/powerpc-unknown-linux-gnu/lib/libbfd.a
-rw-r--r--  1 rpjday rpjday 383640 Nov  2 01:40
ct1/i686-pc-linux-gnu/powerpc-unknown-linux-gnu/lib/libopcodes.a
-rw-r--r--  1 rpjday rpjday 497742 Nov  2 01:37
ct1.orig/lib/libiberty.a
-rw-r--r--  1 rpjday rpjday 3853330 Nov  2 01:37
ct1.orig/i686-pc-linux-gnu/powerpc-unknown-linux-gnu/lib/libbfd.a
-rw-r--r--  1 rpjday rpjday 383640 Nov  2 01:37
ct1.orig/i686-pc-linux-gnu/powerpc-unknown-linux-gnu/lib/libopcodes.a

  so, yes, it's picky, but it's an observation, unless there something
very subtle going on here that i've missed.

rday



More information about the cross-lfs mailing list