Hello Gu?nther,

Tuesday, June 2, 2009, 4:47:55 PM, you wrote:

> is it possible to make ghc embedd an application icon in the .exe during
> the compilation process?

i've found that answer may be googled as "gcc icon":

1) create icon.rc containing one line:
100 ICON "freearc.ico"

2) compile it using windres:
windres.exe icon.rc icon.o

3) link in icon.o when making executable:
ghc --make main.hs icon.o


-- 
Best regards,
 Bulat                            mailto:bulat.zigans...@gmail.com

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to