[Haskell-cafe] Re: Windows details

Jeff Zaroyko jeffzaroyko at gmail.com
Sat Sep 13 03:03:03 EDT 2008


Andrew Coppin <andrewcoppin <at> btinternet.com> writes:

> 
> Jeff Zaroyko wrote:
> > Andrew Coppin <andrewcoppin <at> btinternet.com> writes:
> >
> >   
> >> Jeff Zaroyko wrote:
> >>     
> >>> In theory, you should be able to use mingw's windres tool to produce
> >>> an object file from the resource definition which you'd link with 
> >>> the rest of your program.
> >>>
> I literally cannot *believe* how hard it is to put a few little words 
> into that version tab... Every other kind of resource seems to be 
> completely trivial, but this just won't work for toffee!
> 

I'm sure you'll work something out, my test worked, I used a .res file I had
lying around from Wine's ddraw.dll, used windres ddraw.res -o version.o to make
an object file then using ghc hello.hs version.o linked it against hello world.



More information about the Haskell-Cafe mailing list