Compiling a windows app - embedding application icon

2 Jun
2009
2 Jun
'09
8:47 a.m.
Hi all, is it possible to make ghc embedd an application icon in the .exe during the compilation process? Günther

2 Jun
2 Jun
10:28 a.m.
New subject: Compiling a windows app - embedding application icon
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.Ziganshin@gmail.com
5836
Age (days ago)
5836
Last active (days ago)
1 comments
2 participants
participants (2)
-
Bulat Ziganshin
-
Günther Schmidt