[coyotos-dev] Executable format for Coyotos

Pierre THIERRY nowhere.man at levallois.eu.org
Sun Mar 4 16:03:35 CST 2007


Scribit Jonathan S. Shapiro dies 04/03/2007 hora 16:24:
> For native-mode execution, I'ld plan to stick to ELF.

Ultimately, I'm asking the question about the BitC bootstrap. I was
wondering if I must output an ELF file in the BitC compiler, or if I
could have as a binary format whatever I manage to output, and have a
constructor (maybe written by me in BitC also) make a running process
from that custom binary format when asked to instantiate the BitC
program.

For boostrap purpose, the constructor would be either written in C and
compiled to an ELF executable by a C compiler, or written in BitC and
compiled with the C backend to an ELF executable...

But I was wondering also because I didn't know the ELF format at all.
After reading it quickly, it seems to be a pretty simple format. If it's
trivial to output it, I probably won't bother to do anything else.

If ELF proves to have some complex corner cases, also, outputing
anything else would only be used in interim. At the end, if Coyotos uses
ELF, the BitC compiler would output ELF executables anyway.

Quickly,
Pierre
-- 
nowhere.man at levallois.eu.org
OpenPGP 0xD9D50D8A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.coyotos.org/pipermail/coyotos-dev/attachments/20070304/16dcae48/attachment.bin 


More information about the coyotos-dev mailing list