Is it possible to build in a file in a haskell program??

Alexandre Weffort Thenorio alethenorio@home.se
Tue, 29 Apr 2003 16:57:41 +0200


Hmm I am not very good at C so is it just not possible to do it with plain
haskell, that is, isn't there any haskell function like File2C that does
that??

Best Regards

NooK

----- Original Message -----
From: "Ferenc Wagner" <wferi@tba.elte.hu>
To: <haskell@haskell.org>
Sent: Tuesday, April 29, 2003 4:49 PM
Subject: Re: Is it possible to build in a file in a haskell program??


> "Alexandre Weffort Thenorio" <alethenorio@home.se> writes:
>
> > Is it possible to build in this bin file inside the
> > program so everything is inside the executable file (exe)
>
> You can find a C/linker magic solution at
>
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&safe=off&selm=20020520053
155.5B2FD39FC%40overcee.wemm.org
> See also http://www.gsp.com/cgi-bin/man.cgi?section=1&topic=file2c
>
> You probably need FFI to make use of these.
>                                                 Feri.
> _______________________________________________
> Haskell mailing list
> Haskell@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell
>