Re: [Haskell-cafe] Resource compilation in GHC

2009-11-13 Thread Duncan Coutts
On Thu, 2009-11-12 at 11:52 +0100, David Virebayre wrote: On Thu, Nov 12, 2009 at 11:12 AM, Konstantin Vladimirov konstantin.vladimi...@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

[Haskell-cafe] Resource compilation in GHC

2009-11-12 Thread Konstantin Vladimirov
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

Re: [Haskell-cafe] Resource compilation in GHC

2009-11-12 Thread David Virebayre
On Thu, Nov 12, 2009 at 11:12 AM, Konstantin Vladimirov konstantin.vladimi...@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

Re: [Haskell-cafe] Resource compilation in GHC

2009-11-12 Thread Bulat Ziganshin
Hello Konstantin, Thursday, November 12, 2009, 1:12:35 PM, you wrote: 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