[Yhc] YHC Source: config.h
Thomas Shackell
shackell at cs.york.ac.uk
Tue Jun 26 05:27:06 EDT 2007
Hi Alexis,
Usually the config.h in the root folder is autogenerated by scons, but
since you're cross compiling easiest thing is probably to edit it by
hand. It's not too complicated, just deciding the sizes of various types
and what libraries are available.
The scons file for compiling yhi automatically puts the root folder in
as an include path, so you'll probably want to do the same with your
makefile or whatever.
As for the issue of shared libraries, raised by someone else, no they
aren't strictly necessary, indeed I'll add a patch to optionally remove
them (should take about 2 minutes).
Hope that helps
Tom
Alexis Morris wrote:
> Hi All,
>
> I am trying to cross-compile YHC to the ARM7 using the arm-elf-gcc
> compiler. In particular I am just running a basic compile and link of
> all the source code in the Yhi kernel folder (starting with main.c).
>
> My question is regarding the config.h file, as I am getting errors that
> say that config.h is not the right version. Is it possible to use the
> config.h template file in the root folder of YHC?
>
> If I use the configure script to generate config.h, does anyone know
> what the params should be for targetting arm-elf-gcc?
>
> Thanks
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Yhc mailing list
> Yhc at haskell.org
> http://www.haskell.org/mailman/listinfo/yhc
More information about the Yhc
mailing list