[Yhc] Backends & Bare Metal

Thomas Shackell shackell at cs.york.ac.uk
Mon Jun 18 07:39:58 EDT 2007


Hi Creighton,

Indeed probably the simplest way to do it would to write a minimal 
subset of the standard C library (the bits that Yhc uses) and link yhi 
against it. You could simply use empty definitions for the bits you 
didn't intend to use.

Cheers

Tom

Creighton Hogg wrote:
> Hello,
> So I admit that I'm not really that familiar with how Yhc works yet, but 
> I was wondering if anyone had ever tried/considered making the Yhc 
> runtime work on bare metal?  It seems like this would just involve using 
> a modified version of the BCKernel but everything else should be able to 
> stay the same since the rest involves compiling to byte code?  I have no 
> idea how hard that is, but it seems like it'd be almost more feasible 
> than reworking h0p/House to work with more recent GHCs.
> 
> Cheers,
> Creighton
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Yhc mailing list
> Yhc at haskell.org
> http://www.haskell.org/mailman/listinfo/yhc



More information about the Yhc mailing list