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.
Elly
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page