From: Paqui L. <paq...@eh...> - 2010-02-22 18:35:47
|
Hi, I'am trying to generate a dll from a .hs file that imports Graphics.UI.Gtk and other modules. For this purpose, I use the command ghc -shared .o file.dll file1.o ... filek.o where the k files .o must be (I think) the compilations of the modules involved. Since there isn't a file Graphics.UI.Gtk.o, ghc gives a lot of message of "undefined reference to ...." and exits without creating a .dll. Please, someone knows how to do a .dll using GHC 6.10.3 and a file .hs that imports Graphics.UI.Gtk. Thanks in advance, Paqui --------------------------------- Paqui Lucio Dpto de LSI Facultad de Informática Paseo Manuel de Lardizabal, 1 20080-San Sebastián SPAIN --------------------------------- e-mail: paq...@eh... Tfn: (+34) (9)43 015049 Fax: (+34) (9)43 015590 Web: http://www.sc.ehu.es/paqui --------------------------------- |