Ram initialization and small c.

Eric W. Biederman ebiederman at lnxi.com
Thu Feb 13 18:14:00 CET 2003


"Steve M. Gehlbach" <steve at nexpath.com> writes:

> > GNUOrder <gnuorder at tampabay.rr.com> writes:
> >
> > > Would it be easier to design this into gcc as a separate
> > > architecture or
> > > would that be too unmanagable?
> 
> > Beats me..  gcc is the one compiler of the free software compilers it
> > might be possible to integrate with.  I think it is a real pain to
> > start with.
> 
> > Eric
> 
> Will you be able to use the gnu pre-processor unchanged? or adapt it?  The
> macro expansion seems pretty important.

It can used unchanged, though I don't know if that is a reason to use it.
Having a C preprocessor is definitely a requirement of the LinuxBIOS small C.

To have an idea how small a fairly complete C compiler can get, lookup
tcc.  It can very nearly compile the kernel and the source is only
200K or so.  It currently does not optimize but...

Eric




More information about the coreboot mailing list