[coyotos-dev] Executable format for Coyotos

Jonathan S. Shapiro shap at eros-os.com
Sun Mar 4 16:25:18 CST 2007


On Sun, 2007-03-04 at 23:03 +0100, Pierre THIERRY wrote:
> 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.

Pierre:

I think you don't understand how the bootstrap works. It isn't the
constructor's job to fabricate a program from a binary image. That is
the job of mkimage.

Documentation for mkimage is admittedly very slim, but take a look at:

  http://www.coyotos.org/docs/build/mkimage.html

In particular look at the description of loadimage().

We're in the process of putting together some tutorial examples for a
client. It's going to take another week or two, because we are getting
some build system issues straight as we go. At that point, you'll be
able to look at a real example.

shap
-- 
Jonathan S. Shapiro, Ph.D.
Managing Director
The EROS Group, LLC
+1 443 927 1719 x5100



More information about the coyotos-dev mailing list