ghc API in platforms with no GHCi

Thomas Schilling nominolo at googlemail.com
Wed Jan 20 13:47:40 EST 2010


The byte code interpreter (which hlint uses) has its own dynamic
linker to load binaries.  I suppose the platforms that you listed this
is not supported and GHCi (or more precisely the part of GHCi that
requires the byte code interpreter) is not built.  Specifically, the
following modules are not built:

            DsMeta
            TcSplice
            Convert
            ByteCodeAsm
            ByteCodeFFI
            ByteCodeGen
            ByteCodeInstr
            ByteCodeItbls
            ByteCodeLink
            Debugger
            LibFFI
            Linker
            ObjLink
            RtClosureInspect

I wonder whether TemplateHaskell is supported on those platforms,
since that uses the interpreter, AFAIK.

2010/1/17 Marco Túlio Gontijo e Silva <marcot at riseup.net>:
> Hi.
>
> I noticed that in Debian/KFreeBSD the module ByteCodeLink is not
> available, which cause the build error of haskell-hint in Debian's
> buildds.
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=564136
>
> This is also the case of alpha, armel, hppa, mips, powerpc and s390.  I
> haven't checked if these are the architectures without GHCi but I
> suspect they are.
>
> Is the full ghc API available only in arches in which GHCi is available?
>
> Greetings.
> --
> marcot
> http://marcot.iaaeee.org/
>
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>



-- 
Push the envelope.  Watch it bend.


More information about the Glasgow-haskell-users mailing list