[Yhc] How to build yhc as a bytecode compiler?
ndmitchell at gmail.com
Mon Jan 30 05:53:35 EST 2006
(Sent by Neil, since we're having moderation problems...)
I intend to port yhc to a range of architectures
that do not have a ghc installed.
On solaris8 I have ghc and I could build yhc without
any problems. But now I need a non-native, bytecode
version of yhc to be transported to the ghc-less architectures.
How can I compile yhc using yhc to obtain the bytecode
version? I basically expect the answer to be
make # tp build yhc using ghc
setenv YHC_BASE_PATH $PWD/inst
setenv YHI $YHC_BASE_PATH/bin/yhi
$YHI *options* *mainfile*
Unfortunately I have not the slightest idea
what to write for *somewhere* *options* and *mainfile* :-(
Can somebody help me? Preferably I need the exact commands
that work for the shell.
Thanks a lot,
PS: once I have the exact build steps I will do my best
to contribute the needed stuff to the makefiles for
this type of compilation.
More information about the Yhc