Vladimir A. Pavlov wrote: > > > It seems strange for me. Glibc "guessed" that my system is i686 but it > is going to use the compiler/binutils for the i486 target. > > So, my question are > > 1. Did I miss something when building the previous stages of the book? > > 2. Can I use the 1.x version of the book for such a build? Note, I'm > going to build a system for running on i486 and I'm going to make > the _whole_ build (cross-tools, tools, base, some other programs) on > a i686 system. > > 3. If everything is correct then where glibc will use the values > "i686-pc-linux-gnu"? > > As i said in a previous email to someone else about this earlier in the week. Only /tools is cross-compiled. The final system relies on config.guess. config.guess relies on uname.
There is a uname hack to force config.guess report i486-pc-linux-gnu by making uname report i486. http://ftp.jg555.com/lfs/uname_ix86.c or http://cross-lfs.org/~jciccone/uname_hack.tar.bz2 . The only difference between the 2 is the tarball has a Makefile in it. _______________________________________________ Clfs-support mailing list [email protected] http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
