On 05/04/14 14:35, William Harrington wrote:
On Apr 5, 2014, at 1:36 AM, Martin Ward wrote:
rebuilt the system again, still can't see how ar links to flex
whether dynamically or statically, nothing in the toolchain requires
bison or flex, built up to final system gcc with no errors
If flex is available, ar links to it (not required, but if binutils
finds it, it'll link to it):
never got what you had below
If the host has flex library installed, binutils in cross-tools will
link to static or shared flex library, as well.
readelf -d /cross-tools/i686-pc-linux-gnu/bin/ar
/cross-tools/bin/i686-pc-linux-gnu-ar | grep NEEDED
0x00000001 (NEEDED) Shared library: [libfl.so.2]
0x00000001 (NEEDED) Shared library: [libz.so.1]
0x00000001 (NEEDED) Shared library: [libc.so.6]
0x00000001 (NEEDED) Shared library: [libfl.so.2]
0x00000001 (NEEDED) Shared library: [libz.so.1]
0x00000001 (NEEDED) Shared library: [libc.so.6]
0x00000001 (NEEDED) Shared library: [libm.so.6]
0x00000001 (NEEDED) Shared library: [libc.so.6]
readelf -d /tools/bin/ar /usr/bin/ar | grep NEEDED
0x00000001 (NEEDED) Shared library: [libbfd-2.24.so]
0x00000001 (NEEDED) Shared library: [libfl.so.2]
0x00000001 (NEEDED) Shared library: [libm.so.6]
0x00000001 (NEEDED) Shared library: [libz.so.1]
0x00000001 (NEEDED) Shared library: [libc.so.6]
0x00000001 (NEEDED) Shared library: [libbfd-2.24.so]
0x00000001 (NEEDED) Shared library: [libfl.so.2]
0x00000001 (NEEDED) Shared library: [libm.so.6]
0x00000001 (NEEDED) Shared library: [libz.so.1]
0x00000001 (NEEDED) Shared library: [libc.so.6]
I don't know what functionality that adds for ar when creating,
extracting, and modifying archives.
me neither
i did exactly what you did , only got zlib, libc and libm libraries
i did configure binutils with --enable-plugins, but i would thought that
wouldn't make any difference
If flex library isn't there, ar won't link to it.
but it was available, did you go 32bit --> 32bit?, i did 32bit->64bit
That is what I was getting at. You may not see it if you don't have
flex on the host, in temp system, or final system before binutils.
fairly old flex on host system, so no to that, but no linking in temp or
final stage, weird!!
As for M4, we can move m4 before flex and bison, as well, or use M4=4
during bison and flex configure.
Sincerely,
WIlliam Harrington
thanks
Martin
_______________________________________________
Clfs-dev mailing list
Clfs-dev@lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org