Re: ghc API in platforms with no GHCi

2010-01-20 Thread Thomas Schilling
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 mar...@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@haskell.org
 http://www.haskell.org/mailman/listinfo/glasgow-haskell-users




-- 
Push the envelope.  Watch it bend.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ghc API in platforms with no GHCi

2010-01-20 Thread Marco Túlio Gontijo e Silva
Hi Thomas.

Qua, 2010-01-20 às 18:47 +, Thomas Schilling escreveu: 
 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.

Thanks for your answer.  If you're interested, I've changed hlint in
Debian to be built only in i386, amd64 and sparc.

Greetings.
(...)
-- 
marcot
http://marcot.iaaeee.org/


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users