[lfs-support] How processor-specific is a standard LFS build?

Eleanore Boyd cara117 at cox.net
Fri Aug 17 15:08:40 PDT 2012

On 8/17/2012 9:12 AM, Ken Moffat wrote:
> On Fri, Aug 17, 2012 at 07:53:38AM -0500, Eleanore Boyd wrote:
>> That would depend on how far back you're interested in going, and
>> how much you're willing to look into it. For compatibility with most
>> things, you would be interested in getting a "i386-pc-linux-gnu"
>> target triplet, which might involve getting older packages, or
>> setting some options in the environment prior to building anything.
>   I believe fedora and debian do something like this.  In LFS, we
> have a note on the glibc page: Because Glibc no longer supports i386,
> its developers say to use the compiler flag -march=i486 when
> building it for x86 machines.
>> On a side note, to be compatible with almost all IBM based
>> computers, I think you're looking at getting, say,
>> "i086-pc-linux-gnu" or "i186-pc-linux-gnu" as those would correspond
>> to the earliest days of the Intel instruction set.
>> Elly
>   *smiles* - nice idea.  This is now old history (my first
> pc-compatible used a 286, before that I'd used Z80 machines), but
> anything capable of running linux always needed to be 386 or
> greater.  When I started using linux (late 1999), I had some
> 586-class machines (original pentium, and AMD K6.  With very rare
> exceptions (some of the early VIA processors), anything from recent
> years will be 686.
> ĸen
Ah. I have learned something now. Never knew that Linux required 386 at 
a minimum. Then again, I somehow know that UNIX was originally written 
in PDP-11/20 assembler (I say Google is the computer geek's best 
friend). So, if you want to hand-build DOS, /then /you could try for the 
i86 instruction set. Otherwise, you could try setting an environment 
variable that configures the target to i386 or i486 for all packages.

Yay for Google-happy geeks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20120817/b31ba571/attachment.html>

More information about the lfs-support mailing list