Luigi, You've brought up a good question. I personally do not understand the MACHTYPE environment variable. On my Pentium M (1.4 GHz) system that runs Fedora Core 5, it reports "i386". On another laptop running Ubuntu 7.04, I have an Intel Single Core CPU (1.66 GHz), MACHTYPE is set to "i486-pc-linux-gnu". On a third system, which I have running Fedora Core 7 on dual Pentium 4 (3.00 GHz), MACHTYPE reports "i686-redhat-linux-gnu".
I believe this value is set somehow (somewhere) by the installation process of one's Linux distro, and is not a true indicator of the underlying architecture. Perhaps someone with more knowledge than I can shed some more light on this topic. As for my current efforts, I am following the CLFS guide on my system running FC7. Dave On 9/10/07, luigi <[EMAIL PROTECTED]> wrote: > > Hello Dave, hello @all > > > It appears that you and I are working on a similar task of creating a > > cross-compiled system. For the environment variables I am using: > > export CLFS_HOST="i686-cross-linux-gnu" > > export CLFS_TARGET="i586-pc-linux-gnu" > > > The HOST was obtained using the "echo $MACHTYPE ..." command, and the > > TARGET was setup according one of the entries listed in Table 5.1 of > > Section 5.3 of the guide. > With "echo $MACHTYPE" I obtained for my host-system: > i486-pc-linux-gnu, but cpu are Intel(R) Pentium(R) 4 CPU 2.40GHz. > When I run the command of the clfs-book I obtain > i686-cross-linux-gnu and similarly with the config.guess script > contained in binutils. > Thank you for information and greetings > Luigi > _______________________________________________ > Clfs-support mailing list > [email protected] > http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support >
_______________________________________________ Clfs-support mailing list [email protected] http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
