[LLVMdev] an OS around LLVM
David Given
dg at cowlark.com
Thu Dec 19 09:33:32 PST 2013
On 19/12/13 13:42, mindmachine at free.fr wrote:
[...]
> Do you mean I should give up?
No, not at all: my point was that this has been done before, which means
it can be done again, and if you can avoid some of the hazards which
previous attempts ran afoul of, then you stand a better chance of
success than they did.
Possibly the simplest thing to do is to start with something like Linux
Debian and use the pluggable executable loader to allow it to run Om
binaries --- which would just be an LLVM bitcode file. Bear in mind that
it's more complex than just translating the bitcode into an ELF
executable and running that; for an Om binary to be truly portable, it
wouldn't be able to have any platform-specific code in it. So it
wouldn't know how to make system calls. You might even need your own libc...
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│ "There does not now, nor will there ever, exist a programming
│ language in which it is the least bit hard to write bad programs." ---
│ Flon's Axiom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131219/252c9072/attachment.sig>
More information about the llvm-dev
mailing list