[Haskell-cafe] Resource compilation in GHC

Duncan Coutts duncan.coutts at googlemail.com
Fri Nov 13 05:19:14 EST 2009

On Thu, 2009-11-12 at 11:52 +0100, David Virebayre wrote:
> On Thu, Nov 12, 2009 at 11:12 AM, Konstantin Vladimirov
> <konstantin.vladimirov at gmail.com> wrote:
> > Hello.
> > I'm writing an wxHaskell application. Everything is ok, but now I need
> > a separate folder for icons, bitmaps, and so on, from where they are
> > loaded at runtime. How can I compile resources, and link them into my
> > executable to provide for users single .exe file with resource section
> > inside it?
> +1 !
> I would also like to know how one can do it with gtk2hs.

I just keep them as separate data files and use Cabal to install them
and to find them at runtime.



More information about the Haskell-Cafe mailing list