Re: Where does ELKS need to go?

David Given <[email protected]>
Newsgroups org.kernel.vger.linux-8086
Message-ID <[email protected]>
On 4/19/14, 5:45 PM, Harley Laue wrote:
[...]
> I'm pretty sure it's been mentioned in the past, but SDCC might be an
> option (though, I don't think there is a code generator for 8086-80286).
> Edoardo's suggestion of TACK might be a good fit as well. I've had some
> experience with SDCC, but I haven't ever tried TACK. I will say, SDCC
> has a fairly dedicated community behind it and the project is still
> quite active. TACK, however, doesn't seem to have had many commits in
> the last few years.

I'm the maintainer for TACK. It's actually had some development recently
--- and from people who aren't me, too! But unfortunately the design is
rather hostile to RISC architectures. But it's got decent C89 support
and a reasonable 8086 code generator, and it does have the big advantage
over bcc or pcc in that it's a complete toolchain --- it's got a libc,
an assembler and a linker in it, so it can be made to spit out binaries
with no external dependencies.

Adding a new target to TACK is a bit specialist but relatively easy.
Ping me if there's interest.

[...]
>> * What can/does ELKS offer compared to other small OSes such as NuttX?
> Running more than one process (I'm assuming at least.) IIRC, NuttX
> compiles the kernel into the application to run the single application
> on the hardware.

ELKS' big feature is that it's got a userland. Unfortunately I'm not
sure this is particularly useful these days, particularly as the way it
works is strongly dependent on having an MMU (the 8086's segmentation
counts as an MMU here). I doubt whether ELKS could be easily ported to a
non-MMU system. (How do you relocate a running process, for example?)

One option is to turn ELKS into a Unix emulation layer on top of NuttX,
but that would mean giving up a lot of what makes ELKS a Unix. And I'm
afraid that even for the 8086, ELKS has been superceded by Minix 2,
which is a lot more mature and robust than ELKS is.

-- 
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ "You cannot truly appreciate _Atlas Shrugged_ until you have read it
│ in the original Klingon." --- Sea Wasp on r.a.sf.w
signature.asc (application/pgp-signature, 876 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIVAwUBU1WWHXTPe2DYoi4EAQpjIA/8DKBbFiNk2kEi1xMfLUu9wxGrMShi6Ye7
5JBZE3MuZp10E1PMkJ7Ulbr26+wPvYB8Rg/P899aixePokHSeQsW7naBOPEUOIK9
NctX0T6qFXICfDwp0zQz2X3b3iwg8tlqlsk2oaUuY2SXkPlSjJkqYVH3YGjHkpTF
H7m8dQJI5asXL4kl4NDB61i6+PcFlKqPLH2oKToRxmiNVmOJ92cOhJlMNdhh8vxa
+vABOYv9GOHAcZAjx+ArwD1h7ZwQzVOmGOHsrdwm9/1Q2uKYOYuOnCT4bWA/hUqs
1YJeiqUtaWEoiJ9Nzh/cl7wRlWdeZ+pVZUFvAwrigbQroFFqVzC+8noHOz9TDAWD
rxf58bU6yNkfZGRyyEENYfOLL90K1i/ZW4ksqqcVZLy9sllbxVtU2egp9YXoWudo
+hRZ3Y3/wdYQNqM0PtjxcGn5CBYSUjQI7io36WiEL2z/YwtE4KzfqOsAqWv1iLAH
g5/HnYbepJKbKkv/X1E31S2o3zFd/6UrZMP8bxl+2E0YxCQOuh3It3DUDpFgZjov
jceU6YpPwjIycBnmFA6Wd8xmIeVFwkMe5J2g8k7D8wBjwvO56mUR3P9B8cnx0/xz
8ecvTIfhY/19IbMF48Ze33+nFIuQUdpqRF46e7Z5yOVPCeKPXVVzw6fUqkledZ9m
6TMACg9C7ag=
=WvtQ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.