Hi!
Please, can somebody explain, why the preprocessor is hardcoded in the GHC
perl scripts? IIRC ghc (the perlscript itself) doesn't even reference
$RAWCPP. mkdependHS and hscpp do, but why an absolute path and this obscure
"-iprefix" parameter? Again, "-iwithprefix" is never used...
Would it
[ redirected to ghu ]
"Frank A. Christoph" wrote:
I wrote:
* A more pressing point is that GHC is tied to x86 machines at
moment, see e.g. MBlock.c or Adjustor.c.
It is? I thought these were only relevant for the FFI.
OK, I was a little vague: MBlock.c is needed by the RTS in any case
Peter Amstutz [EMAIL PROTECTED] wrote,
I'm experimenting with the haskell FFI, and have run into a odd little
problem. For some reason, ghc won't let me import functions with no
arguments...
[...]
And my first try (for.hs)
foreign import ccall "hiworld.so" "hiworld" hiworld :: () - IO