Hi! I seem to have some problem building DLLs under Win32 with GHC 5.04. When I follow the instructions from http://haskell.cs.yale.edu/ghc/docs/latest/html/users_guide/win32-dlls-foreign.html all looks ok until I do the last step. Then linker reports:
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: warning: cannot find entry symbol _DllMainCRTStartup@12; defaulting to 63601000 C:/ghc/ghc-5.04/libHSrts.a(StgMiscClosures.o)(.text+0xab1):StgMiscClosures.hc: undefined reference to `_imp___iob' C:/ghc/ghc-5.04/libHSrts.a(StgMiscClosures.o)(.text+0xae5):StgMiscClosures.hc: undefined reference to `_imp___iob' C:/ghc/ghc-5.04/libHSrts.a(StgMiscClosures.o)(.text+0xb19):StgMiscClosures.hc: undefined reference to `_imp___iob' C:/ghc/ghc-5.04/libHSrts.a(StgMiscClosures.o)(.text+0xb4d):StgMiscClosures.hc: undefined reference to `_imp___iob' C:/ghc/ghc-5.04/libHSrts.a(StgMiscClosures.o)(.text+0xb81):StgMiscClosures.hc: undefined reference to `_imp___iob' C:/ghc/ghc-5.04/libHSrts.a(StgMiscClosures.o)(.text+0xbb5):StgMiscClosures.hc: more undefined references to `_imp___iob' follow collect2: ld returned 1 exit status dllwrap: gcc exited with status 1 With GHC 5.02.x all seemed to work fine... Best regards, Mark _______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
