William, Thank you so much for the information! I went back and started all over again following the *CLFS for SYSTEMD.* I have installed the uname module and now I get "i586" when uname runs.
I'm at step 5.7 when the GMP needs to be built. I found the "configfsf.guess" and configfsf.sub" files. I can see "configfsf.guess" correctly returns "i586-pc-linux-gnu". The "config.guess" returns "coreisbr-pc-linux-gnu" (!). Question: do I run the "config" script following the instructions for step 5.7? /Antonio Where do birds go when it rains? <http://xkcd.com/1434/> Antonio (a.k.a. Toño) C. ******************************************************************************************** On Sat, Mar 19, 2016 at 8:36 PM, William Harrington <[email protected]> wrote: > On Fri, 18 Mar 2016 12:59:16 -0500 > Ronaldo Antonio Carballo <[email protected]> wrote: > > > I'm trying to build my first LFS and I keep wondering if I'm doing this > > right. This is what I'm trying to do with my LFS: > > > > > > - Create a Linux image that supports up to i586 processor to test > > software that can only run on the i586. We're trying to test an image > that > > does not have MMX/SSE instructions. > > > > I have gotten up to step 5.9 (Binutils Pass 2). That's when I see that > > after I run the "make install" a "i686-lfs-linux-gnu" folder shows up > under > > "/tools/bin" of my LFS partition. So, I'm wondering if this step is > missing > > the "--target=i586-lfs-linux-gnu" in order to properly install the new > > binaries in the "i586-lfs-linux-gnu" sub-folder. > > > > Any feedback will be greatly appreciated, > > Where do birds go when it rains? <http://xkcd.com/1434/> > > Antonio C. > > Hello Antonio, > > I've read the other posts and am replying with your original post. > > All you need to do is compile and build a kernel module which will force > the machine type to your wanting. > This way you can build with a faster machine for the target, and since it > is all x86, it will be fine. > This should work when using a 64bit kernel or a 32bit kernel. You should > not see x86_64 or i686 when loading the module for 586. > > Download and build: > http://clfs.org/files/extras/uname_hack-20080713.tar.bz2 > > Review the 8.3.3 Uname hack here: > http://clfs.org/view/git/x86/chroot/before-chroot.html > > As discussed by Ken, GMP you will need to use the FSF config.guess and > config.sub for gmp to use the generic target, else it will detect the > current system's CPU and optimize for it. > > That should be all you need to worry about. The LFS book has computer > output for i686, but you should be seeing i586 in that place. > > There are still newer targets out there that use i586: Geode GX1 / GXm / > VIA Nehemiah so i586 is still around. > > Sincerely, > > William Harrington > -- > http://lists.linuxfromscratch.org/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page > > Do not top post on this list. > > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing in e-mail? > > http://en.wikipedia.org/wiki/Posting_style >
-- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
