"static_wrapper" imports in the FFI

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Tue Mar 16 19:59:05 EDT 2010


On Mar 16, 2010, at 19:47 , Isaac Dupree wrote:
> On 03/16/10 19:38, Iavor Diatchki wrote:
>> The fact that, at present, all GHC-compiled programs require an
>> executable data segment is a fairly significant problem.
> Something doesn't add up for me here.  If *all* GHC-compiled  
> programs require an executable data segment, then how could a  
> preprocessor possibly remedy this problem? (and likewise, how does  
> the static_wrapper patch do so...)


A goodly chunk of the RTS uses the FFI to access host functions;  
presumably he also intends rewriting those to use the new import/ 
export type.

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20100316/b4f0c889/PGP-0001.bin


More information about the Glasgow-haskell-users mailing list